Yendif Player (A Jquery Media Player Plugin) is now available for WordPress. DownloadDocumentationLive Demo

Setup wizard

Installation

Playing video

Subtitle your video

Playing audio

Working with playlists

Skins

Control player size

Google analytics setup

Keyboard shortcuts

Add commercial license

Subtitles setup

    <div class="yendifplayer">
      <video>
      	<source type="video/mp4" src="https://mysite.com/video.mp4">
        
        
        <track src="https://mysite.com/subtitle.vtt">
      </video>
    </div>
    

Adding subtitle through javascript

    // ensure DOM is ready
    $(function () {
 
      // this will install yendifplayer into an element with id="player"
      $("#player").yendifplayer ({
        videos:{
          mp4:"https://mysite.com/video.mp4",
        
          //Adding subtitle
      	  captions:"https://mysite.com/subtitle.vtt"
        }
      });
      
    });
    
    <!-- empty container element with unique id="player" -->
    <div id="player"></div>