fix videojs for firefox

This commit is contained in:
jkhsjdhjs 2017-12-02 19:26:21 +01:00
parent aeae405f64
commit 68b583283b

View File

@ -63,10 +63,14 @@
<script src="./s/videojs.persistvolume.js"></script>
<script>
(function() {
var vid1 = videojs( document.querySelector(".video-js") );
vid1.persistvolume({
namespace: "f0ck"
});
var vid1 = videojs( document.querySelector(".video-js") );
vid1.persistvolume({
namespace: "f0ck"
});
if(vid1.autoplay() && !vid1.paused() && vid1.hasClass('vjs-paused')) {
vid1.pause();
vid1.play();
}
})();
</script>
<script>