Skip to content
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

Preload blocks youtube playing #265

Closed
SkinyMonkey opened this issue Nov 1, 2017 · 0 comments
Closed

Preload blocks youtube playing #265

SkinyMonkey opened this issue Nov 1, 2017 · 0 comments

Comments

@SkinyMonkey
Copy link
Contributor

Problem:
When preload is set in config for youtube, playing any provider track and then playing a youtube track. The youtube track does not play.

Steps to reproduce:
In the demo app.

1 - Add the preload option to the soundcloud and youtube config.
2 - Open the demo app in a browser.
3 - click on a soundcloud track button. Wait for it to play.
4 - click on a youtube video button, it does not play.
The only way to start it is by clicking the play button in the youtube video.

david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this issue Dec 23, 2018
…players

Fixes cookpete/react-player#264 and should fix cookpete/react-player#265

Preload players were behaving strangely when iframes were removed and replaced in the DOM, even if the players weren't being unmounted/remounted by React

Sorting the players array by key will prevent any iframes from being unnecessarily removed/replaced in the DOM
david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this issue May 23, 2020
…players

Fixes cookpete/react-player#264 and should fix cookpete/react-player#265

Preload players were behaving strangely when iframes were removed and replaced in the DOM, even if the players weren't being unmounted/remounted by React

Sorting the players array by key will prevent any iframes from being unnecessarily removed/replaced in the DOM
albanqoku added a commit to albanqoku/react-player that referenced this issue Feb 24, 2021
…players

Fixes cookpete/react-player#264 and should fix cookpete/react-player#265

Preload players were behaving strangely when iframes were removed and replaced in the DOM, even if the players weren't being unmounted/remounted by React

Sorting the players array by key will prevent any iframes from being unnecessarily removed/replaced in the DOM
Webmaster1116 added a commit to Webmaster1116/video-player that referenced this issue May 20, 2021
…players

Fixes cookpete/react-player#264 and should fix cookpete/react-player#265

Preload players were behaving strangely when iframes were removed and replaced in the DOM, even if the players weren't being unmounted/remounted by React

Sorting the players array by key will prevent any iframes from being unnecessarily removed/replaced in the DOM
webmiraclepro added a commit to webmiraclepro/video-player that referenced this issue Sep 9, 2022
…players

Fixes cookpete/react-player#264 and should fix cookpete/react-player#265

Preload players were behaving strangely when iframes were removed and replaced in the DOM, even if the players weren't being unmounted/remounted by React

Sorting the players array by key will prevent any iframes from being unnecessarily removed/replaced in the DOM
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

No branches or pull requests

1 participant