Skip to content
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.

Force PopcornJS to Prefer HTML5 Media #429

Open
apricated opened this issue Jan 20, 2015 · 2 comments
Open

Force PopcornJS to Prefer HTML5 Media #429

apricated opened this issue Jan 20, 2015 · 2 comments

Comments

@apricated
Copy link

Noticing some issues with embed iframes from YouTube, when browser tries to load Flash version of YT's player (Safari on Mac; Firefox on Windows and Mac). Is there a way to force Popcorn to prefer the HTML5 player -- or a fork/plugin that does the same?

@ScottDowne
Copy link
Contributor

The YouTube wrapper should default to HTML5 if not explicitly told otherwise.

YouTube then falls back to flash if HTML5 is not available.

Or, that's how it should work, and if it's not, it sounds like a bug.

@apricated
Copy link
Author

@ScottDowne

Thanks for the reply.

Looked into it further, and noticed the Flash player was being invoked both when the YouTube video played successfully, and when it failed.

It's totally intermittent; the same code will work one moment, and fail the next, with no difference in output to the error console.

Could be the same as this issue:
#423

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants