fix videojs for firefox
This commit is contained in:
parent
aeae405f64
commit
68b583283b
|
@ -62,12 +62,16 @@
|
|||
<script src="./s/video.min.js"></script>
|
||||
<script src="./s/videojs.persistvolume.js"></script>
|
||||
<script>
|
||||
(function() {
|
||||
var vid1 = videojs( document.querySelector(".video-js") );
|
||||
vid1.persistvolume({
|
||||
namespace: "f0ck"
|
||||
});
|
||||
})();
|
||||
(function() {
|
||||
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>
|
||||
$(document).ready(() => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user