-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VideoJS wants Sources, DashJS wants NO Sources #91
Comments
We can investigate and see if there's a way to disable this behavior in dashjs. If possible you can leave the video element without source elements and change the source with |
Thanks, will try programmatically adding the source. In the meantime, I did pinpoint the break point. (from VJS issue post): |
Thanks Jo, yes programmatic sources solved the problem. Currently I believe that anyone using html source tags will now break dash handling if using VJS 5.10.1+ due to: videojs/video.js#3285 |
Update the README example to demonstrate setting the player source programmatically. Issue #91 indicates that dashjs will automatically create a mediaPlayer if there is a dash source present in the media element. If the mediaPlayer is already created then video.js will fire two `loadstart` events.
* Move babelified file Remove babelify from the build process * Build to es5 folder * Add build to npm scripts * Clean up example page * Update README example Update the README example to demonstrate setting the player source programmatically. Issue #91 indicates that dashjs will automatically create a mediaPlayer if there is a dash source present in the media element. If the mediaPlayer is already created then video.js will fire two `loadstart` events.
We have an issue with the loadstart event firing twice.
VideoJS wants expressly stated Sources within the Video tag, DashJS wants NO Sources and wants to add the Source programmatically.
Bottom line is that double loadstart events are triggered, meaning that VJS 5.10.2+ fails.
See:
videojs/video.js#3428
Could videojs-contrib-dash make them play together nicely? Or should VideoJS add programmatic source option?
Any ideas please?
The text was updated successfully, but these errors were encountered: