prueba plugins

parent 8d3e1d0c
......@@ -39,28 +39,8 @@
<script>
//uri codificada
var dmUri = "{{url}}";
//var options = {"fluid": true};
//var options = {"fluid": true}; si se activa el responsive, no sirve de nada el overlay.
var options = {};
/*
//Para generar el reproductor de forma responsive...
// Seteo del reproductor y carga de url...
var player = videojs('dg-vid-01', options, function onPlayerReady() {
videojs.log('Reproductor Cargado...');
//carga url y content type hls
this.src({
type: 'application/x-mpegURL',
src: atob(dmUri)
});
///reproduccion de video
this.play();
//evento que escucha cuando el video del reproductor actual termina...
this.on('ended', function () {
videojs.log('Video terminado...');
});
});*/
(function (window, videojs) {
var player = window.player = videojs('dg-vid-01', options, function onPlayerReady() {
......@@ -82,12 +62,9 @@
content: '<div class="myOverlay"><h2>DreamGirls - 01</h2></div>',
debug: true,
overlays: [{
content: '<div class="myOverlay"><h2>DreamGirls - 01</h2></div>',
class: '',
start: 'play',
end: 'pause'
}, {
content: '<div class="myOverlay"><h2>DreamGirls - 01</h2></div>',
start: 0,
end: 15,
align: 'bottom-left'
......@@ -100,7 +77,6 @@
end: 45,
align: 'bottom-right'
}, {
content : '<div class="myOverlay"><h2>DreamGirls - 01</h2></div>',
start: 20,
end: 'pause'
}]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment