Clone
11
FAQ
friday edited this page 2018-07-27 18:32:35 +02:00

FAQ

If your question isn't listed here, you may want to report an issue or ask for support.

1. Does Plyr work with ... ?

Plyr is primarily a HTML5 media players, and hence doesn't directly handle any media formats. It relies on your browser to do it. It's up to you to find out what formats you can use. Recommended resources for this is Can I Use and MDN (in particular HTML5 video and Supported media formats). If the media format is supposed to work in your browser but doesn't, it's likely that you configured your server incorrectly. Check the console for errors such as incorrect mime-type or CORS. Either way, it's not a Plyr issue.

For media streams, Plyr works with dash.js (for MPEG-Dash streams), hls.js (for HLS streams) and Shaka Player (for both formats). Read their documentation for more information and use our templates to try them out with Plyr.

Plyr also supports YouTube and Vimeo via built in plugins.

2. Can you support video provider ... ? (Twitch, Dailymotion etc)

Plyr supports YouTube and Vimeo besides HTML5 media. We won't add more providers to Plyr directly since that will slow down the core development as well as make Plyr bigger for people who don't need the extra providers. Instead we plan to add support for plugins.

3. How can I add custom functionality ... to Plyr?

When applicable, find out how to solve it without Plyr (using stack overflow or search engines), then add Plyr. If you think it's something that should be supported by Plyr, you could create a feature request as a github issue if there isn't already one.

4. What's the status on ... ?

Unless someone has explicitly said in an issue that it's work in progress, most likely that means no one is working on it, and that it isn't a top priority for us.

5. Autoplay, scripted play and/or the preload attribute doesn't work in some browsers.

This is correct. It's a browser feature, and not something Plyr can solve for you (see #1). Muting the audio usually works. For more information see Chrome autoplay policy changes and Safari autoplay policies for macOS, iOS