Skip to content

Changing source from Youtube to .mp4 video is not working #382

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

Closed
sangatxo opened this issue May 3, 2016 · 1 comment
Closed

Changing source from Youtube to .mp4 video is not working #382

sangatxo opened this issue May 3, 2016 · 1 comment

Comments

@sangatxo
Copy link

sangatxo commented May 3, 2016

Hi,

I am using video.js v5.9.2 and videojs-youtube v2.0.8. My player plays videos from multiple sources like .mp4 files and Youtube videos as a playlist mode.

It is working fine when all videos are .mp4 files or all videos are Youtube links. The problem is when player change from a youtube video to a .mp4 file. Youtube iframe is not removed of the DOM and it is maintained over the .mp4 video.

I created a jsfiddle with the problem:
https://jsfiddle.net/8qbgeuuh/9/

It was working fine in old versions with videojs 4. Is it a bug? or am I doing something wrong?

Thanks in advance.

@gkatsev
Copy link
Member

gkatsev commented May 10, 2016

This is a duplicate of #347. It's a bug that should be fixed.

@gkatsev gkatsev closed this as completed May 11, 2016
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

2 participants