VideoSub
VideoSub copied to clipboard
Error printed to JS console
HTML:
<video id="mainVideo" width="600" height="360" controls="stop">
<source src="video.mp4" type="video/mp4"/>
<track src="subtitles.srt" kind="subtitle" srclang="en-US" label="English" />
Your browser does not support HTML5 video.
</video>
JS:
<script src="js/videosub.js"></script>
JS console:
Uncaught TypeError: Cannot read property '0' of undefined videosub.js:155 (anonymous function) videosub.js:155 f videosub.js:34
Subtitles actually do get displayed correctly, but the error message above could be indicative of some underlying badness.
I encounter the same kind of issue on webkit (Chromium).
videosub.js:147 Uncaught TypeError: Cannot read property '0' of undefined