Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 590 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 590 Bytes

videojs-timecode

Plugin for VideoJS for showing current time and duration in 'broadcast' style: hh:mm:ss:ff

Options:

  • PAL
  • PALp
  • NTSC
  • NTSCp
  • STANDARD
  • Any other frame rate, given in numeric form (i.e. 12, 23.976, etc.)

Requires jQuery, any version

Example of usage

Add this code after your videoJS video tag:

<script src="/Scripts/videojs/videojs.timecode.js"></script>
<script type="text/javascript">
    videojs("VideoPlayer").ready(function(){
    this.timecode({
	    timeFormat: 'PAL'
	    });
    });
</script>