Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 639 Bytes

source-chooser.md

File metadata and controls

19 lines (14 loc) · 639 Bytes

Source Chooser

Overview

This plugin generates a button to choose between different sources, if more than one is indicated within the video/audio tags.

<video id="player1" width="640" height="360" preload="none" poster="//example.com/poster.jpg">
    <source src="//example.com/media.mp4" type="video/mp4">
    <source src="//example.com/media.webm" type="video/webm">
    <source src="//example.com/media.ogv" type="video/ogv">
</video>

API

Parameter Type Default Description
sourcechooserText string null Title for Source Chooser button for WARIA purposes