All Projects → walsh9 → Videojs Transcript

walsh9 / Videojs Transcript

Licence: mit
▶️📃 Interactive transcript plugin for video.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Videojs Transcript

refinerycms-videojs
Manage videos in RefineryCMS using Video.js player for playback
Stars: ✭ 41 (-61.32%)
Mutual labels:  videojs
Scalajs Videojs
Scala.js bindings for Video.js
Stars: ✭ 7 (-93.4%)
Mutual labels:  videojs
React Awesome Player
🔥 video.js component for React
Stars: ✭ 56 (-47.17%)
Mutual labels:  videojs
Videojs Contrib Dash
Video.js plugin for supporting the MPEG-DASH playback through a video.js player
Stars: ✭ 255 (+140.57%)
Mutual labels:  videojs
Vue Video Player
🎞 @videojs component for @vuejs
Stars: ✭ 4,026 (+3698.11%)
Mutual labels:  videojs
Video.js
Video.js - open source HTML5 & Flash video player
Stars: ✭ 32,478 (+30539.62%)
Mutual labels:  videojs
videojs-share
Share plugin for video.js
Stars: ✭ 24 (-77.36%)
Mutual labels:  videojs
Larkplayer
🚀 A lightweight & flexible web player :)
Stars: ✭ 82 (-22.64%)
Mutual labels:  videojs
Gohls
A server that exposes a directory for video streaming via web interface
Stars: ✭ 409 (+285.85%)
Mutual labels:  videojs
Wjplayer
Video.js bundle that supports HLS, VAST/VMAP, 360-degree videos, and more.
Stars: ✭ 55 (-48.11%)
Mutual labels:  videojs
Vue Videojs Demo
Use video.js & vue to play RTMP && HLS streams && playback
Stars: ✭ 275 (+159.43%)
Mutual labels:  videojs
Videojs Contrib Ads
A Tool for Building Video.js Ad Plugins
Stars: ✭ 334 (+215.09%)
Mutual labels:  videojs
Videojs Youtube
YouTube playback technology for Video.js
Stars: ✭ 948 (+794.34%)
Mutual labels:  videojs
videojs-airplay
Videojs Plugin that adds an airplay button to the control bar
Stars: ✭ 28 (-73.58%)
Mutual labels:  videojs
Videojs Playlist
A plugin to play multiple audio tracks or multiple videos.
Stars: ✭ 63 (-40.57%)
Mutual labels:  videojs
videojs-annotation-comments
A plugin for video.js to add support for timeline moment/range comments and annotations
Stars: ✭ 129 (+21.7%)
Mutual labels:  videojs
V Playback
A Vue2 plugin to make video play easier
Stars: ✭ 19 (-82.08%)
Mutual labels:  videojs
Streaming Room
Streaming room in Node.js, rtmp, hsl, html5 videojs player
Stars: ✭ 106 (+0%)
Mutual labels:  videojs
Embed
Embed player for D.Tube
Stars: ✭ 65 (-38.68%)
Mutual labels:  videojs
Videojscustomization
HTML5 视频播放器 自定制: React + video.js 详细讲解
Stars: ✭ 32 (-69.81%)
Mutual labels:  videojs

Video.js Transcript

Creates interactive transcripts from text tracks.

Alpha Release 3

Please report any issues or feature requests on the tracker. Thank you!

Getting Started

Once you've added the plugin script to your page, you can use it with any video:

<head>
<script src="video.js"></script>
<script src="videojs-transcript.js"></script>
</head>
<body>
<video id="video">
      <source src="whatever.webm" type="video/webm">
      <track kind="captions" src="mycaptions.srt" srclang="en" label="English" default>
</video>
<div id="transcript"></div>
<script>
    var video = videojs('video').ready(function(){
      // Set up any options.
      var options = {
        showTitle: false,
        showTrackSelector: false,
      };

      // Initialize the plugin.
      var transcript = this.transcript(options);

      // Then attach the widget to the page.
      var transcriptContainer = document.querySelector('#transcript');
      transcriptContainer.appendChild(transcript.el()); 
    }); 
</script>
</body>

There's also a working example of the plugin you can check out if you're having trouble.

You'll also want to include one of the css files. You can style the plugin as you like but there are a few examples in the /css folder to get you started.

Documentation

Plugin Options

You may pass in an options object to the plugin upon initialization. This object may contain any of the following properties:

autoscroll

Default: true

Set to false to disable autoscrolling.

scrollToCenter

Default: false

By default current row shows on the bottom on autoscrolling. Set to true to show it in the center

clickArea

Default: 'line'

Set which elements in the transcript are clickable. Options are 'timestamp', 'text', the whole 'line', or 'none'.

showTitle

Default: true

Show a title with the transcript widget.

(Currently the title only says 'Transcript')

showTrackSelector

Default: true

Show a track selector with the transcript widget.

followPlayerTrack

Default: true

When you change the caption track on the video, the transcript changes tracks as well.

stopScrollWhenInUse

Default: true

Don't autoscroll the transcript when the user is trying to scroll it.

(This probably still has a few glitches to work out on touch screens and stuff right now)

Plugin Methods

el()

Returns the DOM element containing the html transcript widget. You'll need to append this to your page.

Release History

0.8.0: Alpha Release 3
  • Updated for video.js 5.x
0.7.2: Alpha Release 2
  • Updated for video.js 4.12
0.7.1: Alpha Release 1
  • First release
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].