Questions tagged [webvtt]

WebVTT (Web Video Text Tracks) is a plain-text subtitle format designed for use with HTML5 video.

WebVTT (Web Video Text Tracks) is a plain-text subtitle format designed for use with HTML5 video. It was developed by the W3C and WHATWG and widely based on the SubRip file format.

References

183 questions
0
votes
0 answers

Audio Element's TextTrackCueList is missing TextTrackCue objects

I am implementing some custom 'transcript-highlight' functionality around the cuechange event but came across this weird behavior where the TextTrackCueList of the track element is incomplete. Chrome and Firefox don't have this problem. Is this an…
Yannic Hamann
  • 4,655
  • 32
  • 50
0
votes
0 answers

Realtime meta-data/ captioning for live streamed audio

How might I achieve adding a track of accurately aligned real-time "additional" data with live-streamed audio? Primarily interested in the browser here, but ideally the solution would be possible with any platform. The idea is, if I have a live…
Louis
  • 135
  • 1
  • 8
0
votes
2 answers

Subtitle Track HTML5 Element Don't Update in Video

I'm facing a problem, I need to change the subtitles track source dynamically from javascript. The current behaviour is that no change happens and the old subtitles keeps showing. This is the html:
0
votes
1 answer

How to get subtitles' currently displayed text

I would like to extract the subtitle text on a paused video frame of external website (like youtube.com) through console.log. It is assumed that the external website provides the subtitles through a webvtt or similar file. As the subtitle text is…
mvark
  • 2,105
  • 2
  • 21
  • 36
0
votes
1 answer

Why don't my vtt subtittles show up on my html5 video?

I'm trying to use subtitles with my HTML5 video tag, but I can't get this to work. I think the issue is that the video source isn't a local file. Does anyone know how I can get around this?
Ruud14
  • 117
  • 7
0
votes
1 answer

Oncuechange event trigger a fade-in/fade-out animation inside the P tag of html

I'm fairly new to web development, just started to learn the javascript.. So beside learning I'm trying to build a web page where the lyrics will be shown inside a p tag, which is synced with an audio file. The subtitle source is given by vet file…
beatzonic
  • 3
  • 3
0
votes
1 answer

Looking for ideas to video sync with a document with HTML 5 and Webvtt

I'm just started on a new project. I am working with a court transcript and a video deposition. I would like to create a web player that sync's the transcript file with the video. I am trying to figure out where to start with this. I already have…
Eric
  • 958
  • 1
  • 11
  • 28
0
votes
1 answer

Edge is not able to parse VTT file generated by AMS v3

The VTT generated by AMS v3 has some “NOTE” in the top of the vtt file. Edge and IE11 Browsers are complaining about it. It throws below parsing error. Same VTT files works fine in Chrome and firefox. MEDIA12608: WebVTT Text Track: Timestamp…
avinash
  • 9
  • 1
0
votes
1 answer

Why use multiple hyphens for WebVTT cue?

I'm looking at https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API. The pertinent example is this: WEBVTT - This file has cues. 14 00:01:14.815 --> 00:01:18.114 - What? - Where are we now? 15 00:01:18.171 --> 00:01:20.991 - This is big bat…
Dave Stein
  • 8,653
  • 13
  • 56
  • 104
0
votes
1 answer

Manipulating WebVTT cues through jquery

I would like to manipulate the pseudo element: "::cue" through jquery. Let's say that I have a video like this:
0
votes
2 answers

Does ChromeCast support formatting subtitle text in WebVTT subtitle streams?

I'm sending video with subtitles to a Chromecast devices. Subtitles are in a separate WebVTT stream. The WebVTT data is created by transcribing .srt files. I have a partial translation of SRT subtitle formatting to VTT formatting. (Other formats…
Robin Davies
  • 7,547
  • 1
  • 35
  • 50
0
votes
2 answers

PHP Regex for .vtt files

I am looking to loop through existing .vtt files and read the cue data into a database. The format of the .vtt files are: WEBVTT FILE line1 00:00:00.000 --> 00:00:10.000 ‘Stuff’ line2 00:00:10.000 --> 00:00:20.000 Other stuff Example with 2…
SGD
  • 63
  • 1
  • 7
0
votes
1 answer

.vtt subtitles not displaying on video in Chrome

I'm trying to create a (.mp4 format) video with .vtt subtitles. The only thing that appears on screen are one or two black lines in the centre of the video where the subtitles should be, and only on Chrome. It works fine in e.g. Edge. Why aren't…
Emily
  • 97
  • 1
  • 12
0
votes
1 answer

HTML 5 (track element) - Subtitles not showing on Youtube

I'm writing a chrome extension with ReactJS that lets users insert subtitles on Youtube. I've been trying to insert subtitles on Youtube with the track element but it's not working. Youtube has the following element:
0
votes
1 answer

Turn closed captions off for multiple videos with global button

I have a page containing multiple HTML5 videos with different captions (webvtt). The video controls are hidden. I have a button «add subtitles» with the ID #check. If the user checks this button, ALL videos should display the captions, and if…
L. Maher
  • 103
  • 8