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/video.min.js"></script>
|
||||||
<script src="./s/videojs.persistvolume.js"></script>
|
<script src="./s/videojs.persistvolume.js"></script>
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function() {
|
||||||
var vid1 = videojs( document.querySelector(".video-js") );
|
var vid1 = videojs( document.querySelector(".video-js") );
|
||||||
vid1.persistvolume({
|
vid1.persistvolume({
|
||||||
namespace: "f0ck"
|
namespace: "f0ck"
|
||||||
});
|
});
|
||||||
})();
|
if(vid1.autoplay() && !vid1.paused() && vid1.hasClass('vjs-paused')) {
|
||||||
|
vid1.pause();
|
||||||
|
vid1.play();
|
||||||
|
}
|
||||||
|
})();
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user