diff --git a/dist/plyr.js b/dist/plyr.js index 6829221d..7a63f0a5 100644 --- a/dist/plyr.js +++ b/dist/plyr.js @@ -1,2 +1,2 @@ -!function(e,t){"use strict";"function"==typeof define&&define.amd?define(null,function(){t(e,document)}):"object"==typeof module?module.exports=t(e,document):e.plyr=t(e,document)}(this,function(e,t){"use strict";function n(){var e=['
falseautoplayfalseseekTimesource(...).source("/path/to/video.mp4")src attribute on the video or audio element.
- .source([{ src: "/path/to/video.webm", type: "video/webm", ...more attributes... }, { src: "/path/to/video.mp4", type: "video/mp4", ...more attributes... }])`.source([
+ {
+ src: "/path/to/video.webm",
+ type: "video/webm",
+ ...more attributes...
+ },
+ {
+ src: "/path/to/video.mp4",
+ type: "video/mp4",
+ ...more attributes...
+ }
+ ])`sourcestype is optional for YouTube and Vimeo when specifying an array. For YouTube and Vimeo media, only the video ID must be passed as the source as shown above. The keys of this object are mapped directly to HTML attributes so more can be added to the object if required.poster