fix videojs for firefox
This commit is contained in:
parent
aeae405f64
commit
68b583283b
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user