-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Dailymotion preload always loads #261
Comments
So it turns out that preloading had been broken for a while. It was fixed in Can I ask why you are using the |
From the title of the issue. It sounds like you may have misunderstood what Either way, the preload video has been updated in the npm install react-player@next |
I noticed in the changelog that preloading was broken but fixed in 0.25.3 that's why i thought it would be a good idea to report this. My title was misleading. I read the code for 0.25.3 and noticed that it's just the BLANK_VIDEO_URL at https://github.com/CookPete/react-player/blob/v0.25.3/src/players/DailyMotion.js that is pointing to a track that is not silent. That's it. I'll use 1.0.0, thanks. |
Yeah it's my fault for not checking the |
With react-player 0.25.3
I added a {preload: true} for dailymotion in the config.
If i play a youtube url I get a dailymotion node playing in the background with this url:
"http://www.dailymotion.com/embed/video/x522udb?api=postMessage&autoplay=false&controls=false&endscreen-enable=false&id=f3d4b29cd79b23&origin=http%3A%2F%2Flocalhost%3A3000&start=0"
Sorry, I don't have time to investigate this for now
The text was updated successfully, but these errors were encountered: