To know more features about this player visit GitHub .
  
  
  
  
  
    
Demo  βͺοΈ  Installation   βͺοΈ  Shortcuts  βͺοΈ  API  βͺοΈ Integrations  βͺοΈ  Events  
 Styling  βͺοΈ  Plugins βͺοΈ Custom Events βͺοΈ i18n βͺοΈ Settings
βΌοΈ Features:
- π§ Fully customizable and Easy-to-use
- π Built-in caption offset adjuston the fly
- π¬ Built-in support for .vttand.srtcaption files
- πΉ Built-in Plugins, use the code that you really need!
- π― Built-in CustomEvents, add multiple events that will run a specific currentTime
- π Add tracks/captions dynamicallyusing our API
- π Add tracks/captions locallyon the fly (no server or upload required)
- π  Adjust speed on the fly
- π  Standardized events / shortcuts / API
- π Caption customization
- πͺ No dependencies, built with VanillaJS
- π Tested in all modern browsers
- π» Responsive
- π Integration with webtorrent.js,dash.js,Shaka Playerandhls.js
- π Internationalization (i18n) of controls
βΌοΈ Demo:
βΌοΈ Installation (Browser):
1 - Include JavaScript Source.
<script src="path/to/moovie.js"
β¦
    
    
 
  
  
Demo  βͺοΈ  Installation   βͺοΈ  Shortcuts  βͺοΈ  API  βͺοΈ Integrations  βͺοΈ  Events  
 Styling  βͺοΈ  Plugins βͺοΈ Custom Events βͺοΈ i18n βͺοΈ Settings
βΌοΈ Features:
- π§ Fully customizable and Easy-to-use
- π Built-in caption offset adjuston the fly
- π¬ Built-in support for .vttand.srtcaption files
- πΉ Built-in Plugins, use the code that you really need!
- π― Built-in CustomEvents, add multiple events that will run a specific currentTime
- π Add tracks/captions dynamicallyusing our API
- π Add tracks/captions locallyon the fly (no server or upload required)
- π Adjust speed on the fly
- π Standardized events / shortcuts / API
- π Caption customization
- πͺ No dependencies, built with VanillaJS
- π Tested in all modern browsers
- π» Responsive
- π Integration with webtorrent.js,dash.js,Shaka Playerandhls.js
- π Internationalization (i18n) of controls
βΌοΈ Demo:
βΌοΈ Installation (Browser):
1 - Include JavaScript Source.
<script src="path/to/moovie.js"β¦You can download it from GitHub or if you want to use it using CDN then below are the steps.
I slightly modified this library because while integrating with jsDelivr CDN there was and icon issue(icons were not showing). You have to download and upload this to your website for the player. But now All things are shorted out π. #NoErrorOnUsingCDN
See File on SopPlayer :- https://github.com/SH20RAJ/Sopplayer/tree/main/mooviejs
βΌοΈ Demo:
βΌοΈ Installation (Browser):
1 - Include JavaScript Source.
<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/Sopplayer/mooviejs/js/moovie.min.js"></script>
2 - Include Styles.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/SH20RAJ/Sopplayer/mooviejs/css/moovie.min.css">
3 - Set HTML.
<video id="example1" poster="<<path-to-poster>>">
  <source src="<<path-to-file.mp4>>" type="video/mp4">
  <track kind="captions" label="Portuguese" srclang="pt" src="<<path-to-caption.vtt>>">
  <track kind="captions" label="English" srclang="en" src="<<path-to-caption.vtt>>">
  Your browser does not support the video tag.
</video>
Example :-
4 - Initilize.
<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>
Note: Do not forget to not include "icons" folder. Because the error was fixed. Here ->
Demo  βͺοΈ  Installation   βͺοΈ  Shortcuts  βͺοΈ  API  βͺοΈ Integrations  βͺοΈ  Events  
 Styling  βͺοΈ  Plugins βͺοΈ Custom Events βͺοΈ i18n βͺοΈ Settings
βΌοΈ Features:
- π§ Fully customizable and Easy-to-use
- π Built-in caption offset adjuston the fly
- π¬ Built-in support for .vttand.srtcaption files
- πΉ Built-in Plugins, use the code that you really need!
- π― Built-in CustomEvents, add multiple events that will run a specific currentTime
- π Add tracks/captions dynamicallyusing our API
- π Add tracks/captions locallyon the fly (no server or upload required)
- π Adjust speed on the fly
- π Standardized events / shortcuts / API
- π Caption customization
- πͺ No dependencies, built with VanillaJS
- π Tested in all modern browsers
- π» Responsive
- π Integration with webtorrent.js,dash.js,Shaka Playerandhls.js
- π Internationalization (i18n) of controls
βΌοΈ Demo:
βΌοΈ Installation (Browser):
1 - Include JavaScript Source.
<script src="path/to/moovie.js"β¦Customizing and Styling
βΌοΈ Styling > Colors:
Using CSS Custom Properties you can easily customize your own player. 
Check below a list of variables and what they are used for:
| Name | Description | Default | 
|---|---|---|
| --moovie_main_color | Moovie main color |   #3191f7 | 
| --moovie_bg_controls | Background color when hover the buttons | rgba(16, 34, 62, 0.6) | 
| --moovie_bg_submenu | Submenu background color |   #f7f7f7 | 
| --moovie_bg_cuetimer | Cuetimer background color |   #2b2b2b | 
| --moovie_submenu_options_fcolor | Submenu text color |   #515151 | 
| --moovie_topic_submenu_fcolor | Submenu topic text color |   #797979 | 
| --moovie_currenttime_color | CurrentTime text color | white | 
| --moovie_submenu_options_fsize | Submenu options font size | 10pt | 
| --moovie_topic_submenu_fsize | Submenu topic font size | 9pt | 
| --moovie_currenttime_fsize | CurrentTime font size | 11pt | 
| --moovie_cuetimer_fsize | Cuetimer font size | 9pt | 
| --moovie_svgicons_width | Icons size | 15px | 
| --moovie_padding_controls | Control bar padding | 13px | 
| --moovie_caption_fcolor | Captions text color | white | 
| --moovie_cuetimer_fcolor | Cuetimer text color | white | 
See Style Customized Demo :- https://sopplayer.sh20raj.repl.co/mooviejs/demo2.html
Checkout more Video Players :- https://www.youtube.com/playlist?list=PLFcP4G5x1z-rhG307w1iAQBFSTHa5hbRz
Demo  βͺοΈ  Installation   βͺοΈ  Shortcuts  βͺοΈ  API  βͺοΈ Integrations  βͺοΈ  Events  
 Styling  βͺοΈ  Plugins βͺοΈ Custom Events βͺοΈ i18n βͺοΈ Settings
βΌοΈ Features:
- π§ Fully customizable and Easy-to-use
- π Built-in caption offset adjuston the fly
- π¬ Built-in support for .vttand.srtcaption files
- πΉ Built-in Plugins, use the code that you really need!
- π― Built-in CustomEvents, add multiple events that will run a specific currentTime
- π Add tracks/captions dynamicallyusing our API
- π Add tracks/captions locallyon the fly (no server or upload required)
- π Adjust speed on the fly
- π Standardized events / shortcuts / API
- π Caption customization
- πͺ No dependencies, built with VanillaJS
- π Tested in all modern browsers
- π» Responsive
- π Integration with webtorrent.js,dash.js,Shaka Playerandhls.js
- π Internationalization (i18n) of controls
 
 
              


 
    
Top comments (0)