![]() The size of the stripes in the loading state in the scrubber. The shadow below the border of the back button in the top of the sub menu pages. The border color for the bottom of the back button in the top of the sub menu pages. The size of the arrow on the bottom of the menu. The text/icon color used when audio controls are :hover, :focus and :focus-visible (equivalent). The background color used when video controls are :hover, :focus and :focus-visible (equivalent). The text/icon color used when video controls are :hover, :focus and :focus-visible (equivalent). The background color used for checked menu items. The space between controls (sometimes used in a multiple - e.g. The size of the icons used in the controls. The color for the background of captions. The background color for badges in the menu. The color used for the focus styles when an element is :focus-visible (keyboard focused). The background color of video and poster wrappers for using alpha channel videos and poster images. 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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |