Created
August 18, 2022 10:56
-
-
Save HeNy007/e8efe466d8149fdd3c0762d0d66d5daf to your computer and use it in GitHub Desktop.
Moovie.js - Media player made for movies - Demo π
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/Sopplayer/mooviejs/js/moovie.min.js"></script> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/SH20RAJ/Sopplayer/mooviejs/css/moovie.min.css"> | |
<video id="example1" poster="https://github.com/SH20RAJ/Sopplayer/blob/main/sample.png?raw=true"> | |
<source src="https://bit.ly/bbsamplevideo" type="video/mp4"> | |
<track kind="captions" label="English" srclang="en" src="https://cdn.jsdelivr.net/gh/BMSVieira/moovie.js@main/demo-template/subtitles/en.vtt"> | |
Your browser does not support the video tag. | |
</video> | |
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
video1 = new Moovie({ | |
selector: "#example1", | |
config: { | |
controls : { | |
playtime : true, | |
mute : true, | |
volume : true, | |
subtitles : true, | |
config : true, | |
fullscreen : true, | |
submenuCaptions : true, | |
submenuOffset : true, | |
submenuSpeed : true, | |
allowLocalSubtitles : true | |
} | |
} | |
}); | |
}); | |
</script> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Source :- https://dev.to/sh20raj/mooviejs-media-player-made-for-movies-integration-41kb/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--moovie_main_color : brown; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment