From a6e29080b10fc1daa37e6d94466bfc08389d559b Mon Sep 17 00:00:00 2001 From: Heckyel Date: Sat, 10 Dec 2016 17:59:24 -0500 Subject: first commit --- librevideojs/js/cliplibrejs-playlists.min.js | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 librevideojs/js/cliplibrejs-playlists.min.js (limited to 'librevideojs/js/cliplibrejs-playlists.min.js') diff --git a/librevideojs/js/cliplibrejs-playlists.min.js b/librevideojs/js/cliplibrejs-playlists.min.js new file mode 100644 index 0000000..ac39ef7 --- /dev/null +++ b/librevideojs/js/cliplibrejs-playlists.min.js @@ -0,0 +1,29 @@ +/*! + * + * @source: cliplibrejs-playlist.js + * + * @licstart The following is the entire license notice for the + * JavaScript code in this page. + * + * Copyleft (Ɔ) 2012 Heckyel - Cybersy + * + * + * The JavaScript code in this page is free software: you can + * redistribute it and/or modify it under the terms of the GNU + * General Public License (GNU GPL) as published by the Free Software + * Foundation, either version 3 of the License, or (at your option) + * any later version. The code is distributed WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. + * + * As additional permission under GNU GPL version 3 section 7, you + * may distribute non-source (e.g., minimized or compacted) forms of + * that code without the copy of the GNU GPL normally required by + * section 4, provided you include this license notice and a URL + * through which recipients can access the Corresponding Source. + * + * @licend The above is the entire license notice + * for the JavaScript code in this page. + * + */ +function playList(c,a){var d=this;d.pl=d.pl||{};var b=parseInt(c,10);d.pl._guessVideoType=function(e){var f={webm:"video/webm",mp4:"video/mp4",ogv:"video/ogg"};var g=e.split(".").pop();return f[g]||""};d.pl.init=function(f,e){e=e||{};d.pl.videos=[];d.pl.current=0;d.on("ended",d.pl._videoEnd);if(e.getVideoSource){d.pl.getVideoSource=e.getVideoSource}d.pl._addVideos(f)};d.pl._updatePoster=function(e){d.poster(e);d.removeChild(d.posterImage);d.posterImage=d.addChild("posterImage")};d.pl._addVideos=function(k){for(var h=0,l=k.length;h