Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure CMCD query argument is replaced (#20)
The query argument added by the CMCD connector is preserved in subsequent manifest/segment requests by THEOplayer, apparently leading to multiple CMCD arguments being accumulated, which is a problem as the URL grows indefinitely. Using URLSearchParams set method, rather than append, ensures that the first CMCD argument is updated (the rest are removed) or one is appended. Co-authored-by: Mattias Buelens <[email protected]>
- Loading branch information