![]() ![]() Here's a list of the properties and what they are used for: Name If you want to change any design tokens used for the rendering of the player, you can do so using CSS Custom Properties. If you do not wish to use Vi, you can set your own ads.tagUrl option. Enable ads in the config options and enter your publisher IDĪny questions regarding the ads can be sent straight to vi.ai and any issues with rendering raised through GitHub issues.Grab your publisher ID from the code snippet.Plyr has partnered up with vi.ai to offer monetization options for your videos. Build the project yourself using npm i & npm run build, which installs the dependencies and spits out a build to dist.Download the files from unpkg or similar services.Download the files from the CDN links above, they're already minified.If you don't want to create a build system to include Plyr as an npm module, you can use the pre-built files. Reference, the CDN hosted SVG sprite can be found at. The SVG sprite is loaded automatically from our CDN (provided by Cloudflare). Plyr extends upon the standard HTML5 media element markup so that's all you need for those types. For Streaming we also have example integrations with: Dash.js, Hls.js and Shaka Player Quick setup HTML ![]() You can try Plyr in Codepen using our minimal templates: HTML5 video, HTML5 audio, YouTube, Vimeo. □♀️ Sass - to include in your build processes.□ No frameworks - written in "vanilla" ES6 JavaScript, no jQuery required.□ Preview thumbnails - support for displaying preview thumbnails.□ i18n support - support for internationalization of controls.□ Multiple captions - support for multiple caption tracks.□ Speed controls - adjust speed on the fly.□ Playsinline - supports the playsinline attribute.□ Picture-in-Picture - supports picture-in-picture mode.⌨️ Shortcuts - supports keyboard shortcuts.□ Fullscreen - supports native fullscreen with fallback to "full window" modes.□ Events - no messing around with Vimeo and YouTube APIs, all events are standardized across formats.□ API - toggle playback, volume, seeking, and more through a standardized API.□ Streaming - support for hls.js, Shaka and dash.js streaming playback.□ Monetization - make money from your videos.□ Responsive - works with any screen size.for volume and for progress and well, s for buttons. □ Clean HTML - uses the right elements.□ Customizable - make the player look how you want with the markup you want.□ Accessible - full support for VTT captions and screen readers.□ HTML Video & Audio, YouTube & Vimeo - support for the major formats.Plyr is a simple, lightweight, accessible and customizable HTML5, YouTube and Vimeo media player that supports modern browsers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |