Skip to content

Remove sp_auto by default#166

Merged
adimiz1 merged 3 commits intomasterfrom
fix/video_player
Mar 19, 2024
Merged

Remove sp_auto by default#166
adimiz1 merged 3 commits intomasterfrom
fix/video_player

Conversation

@adimiz1
Copy link
Contributor

@adimiz1 adimiz1 commented Mar 12, 2024

Brief Summary of Changes

Remove sp_auto by default from CLDVideoPlayer

What does this PR address?

  • GitHub issue (Add reference - #XX)
  • Refactoring
  • New feature
  • Bug fix
  • Adds more tests

Are tests included?

  • Yes
  • No

Reviewer, please note:

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I ran the full test suite before pushing the changes and all the tests pass.

assert cldVideoPlayer[0].getPlayer() != null;
assert cldVideoPlayer[0].getUrl().contains("publicId.m3u8");
assert cldVideoPlayer[0].getUrl().contains("sp_auto");
assert cldVideoPlayer[0].getUrl().contains("publicId");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe change to endsWith or something. Obviously "publicId.m3u8" contains "publicId"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can sense there is also the analytics token
We can disable the analytics token and then try endsWith if it's important

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so maybe let's just verify that it does not contain .m3u8

@adimiz1 adimiz1 merged commit 231574b into master Mar 19, 2024
@adimiz1 adimiz1 deleted the fix/video_player branch March 19, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants