prueba thumbnail

parent b0085036
...@@ -57,41 +57,45 @@ ...@@ -57,41 +57,45 @@
this.on('ended', function () { this.on('ended', function () {
videojs.log('Video terminado...'); videojs.log('Video terminado...');
}); });
});
player.overlay({ this.overlay({
content: 'Default overlay content', content: 'Default overlay content',
debug: true, debug: true,
overlays: [{ overlays: [{
content: 'The video is playing!', content: 'The video is playing!',
start: 'play', start: 'play',
end: 'pause' end: 'pause'
}, { }, {
start: 0, start: 0,
end: 15, end: 15,
align: 'bottom-left' align: 'bottom-left'
}, { }, {
start: 15, start: 15,
end: 30, end: 30,
align: 'bottom' align: 'bottom'
}, { }, {
start: 30, start: 30,
end: 45, end: 45,
align: 'bottom-right' align: 'bottom-right'
}, { }, {
start: 20, start: 20,
end: 'pause' end: 'pause'
}] }]
});
this.thumbnails(
{
width: 50,
spriteUrl: 'http://placehold.it/350x150',
stepTime: 2,
}
);
}); });
player.thumbnails(
{
width: 50,
spriteUrl: 'http://placehold.it/350x150',
stepTime: 2,
}
);
</script> </script>
</body> </body>
......
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