Video.js Chapter doesn't work -


i have been searching web few days no solution. aware there used issue video.js, apparently fixed in 2014 v4.7.0 , i'm running v4.12.3. i've checked , can't find issues code. subtitles work chapters don't show @ all.

my vtt: (chapters.vtt in /public/ dir)

webvtt  chapter 1 00:00:54.000 --> 00:02:46.000 did work on @ previous jobs?  chapter 2 00:02:59.000 --> 00:04:25.000 when did started programming?  chapter 3 00:04:30.000 --> 00:05:35.000 prototypal inheritance?  chapter 4 00:05:35.001 --> 00:09:48.000 why prototypal inheritance better classical inheritance in js? 

i added mime type nginx , file loading properly.

my view:

<video id="video" class="video-js vjs-default-skin vjs-big-play-centered"        controls preload="auto" width="640" height="428"        data-setup='{ "playbackrates": [1, 1.35, 1.5] }'        poster="...path_here">        <source src="...path_here" type='video/mp4' />        <track kind="chapters" src="/chapters.vtt" srclang="en" label="chapters" default="default"> </video>  <link href="//vjs.zencdn.net/4.12.3/video-js.css" rel="stylesheet"> <script src="//vjs.zencdn.net/4.12.3/video.js"></script> <script src="/js/plugins/video/videojs.ga.min.js"></script> <script> var interviewvideo = videojs('video', {}, function() {       this.ga(); // load analytics plugin     }); </script> 

i've tried default, no default, chapters, chapters, no chapter in vtt file, no hours in vtt file. nothing happens @ all, except when change subtitles. works fine.

thinking opening issue on github, wouldn't first time i've overlooked stupid.

thank time , help.

it's issue plugin: https://github.com/videojs/video.js/issues/2131

use 4.11 if need chapters.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -