Describe the bug
The example usage code in the README has a small error in the appendCmcdQuery() method.
To Reproduce
Steps to reproduce the behavior:
Create a project using NPM (npm init).
Install the common-media-library
Copy and paste the example usage code
Run the code
Expected behavior
The example usage code runs without errors.
Screenshots
Additional context
This is a simple change, it would be nice to fix it. The parameters of the appendCmcdQuery() method are in the wrong order. After correcting the order, the code runs properly.
Describe the bug The example usage code in the README has a small error in the
appendCmcdQuery()
method.To Reproduce Steps to reproduce the behavior:
npm init
).Expected behavior The example usage code runs without errors.
Screenshots
Additional context This is a simple change, it would be nice to fix it. The parameters of the appendCmcdQuery() method are in the wrong order. After correcting the order, the code runs properly.
Suggestion change:
appendCmcdQuery('https://example.com/playlist.m3u8', cmcd)