Questions tagged [vtt]

In C++, VTT is the virtual table table. It allows objects to be safely constructed/deconstructed when there is multiple inheritence. Details can be found here.

51 questions
0
votes
1 answer

Rails 7 rendering to a VTT, displays entity code instead of character

I am working on putting captions for videos into a database interface, so the information needs to render into a VTT file for HTML5 tags to be able to display closed captions. in my controller, the show method: def show @track =…
Patrick Vellia
  • 399
  • 2
  • 9
0
votes
1 answer

Styling VTT cues - ::cue(#id) selector does not work

I'm trying to style dynamically added VTT cues by trying to target the cue id: track = video.addTextTrack('captions', 'Captions', 'en'); track.mode = 'showing'; const cue = new VTTCue(0, 10, "Hello world"); cue.id =…
Cesare Polonara
  • 3,473
  • 1
  • 9
  • 19
0
votes
2 answers

Angular player hls video

I want to find a video player that suport type .m3u8 and support subtitle (srt or vtt) for Angular. I found that vimejs have good support for .m3u8 type, but they not have support subtitle for .m3u8. So I have to find another solution. So is there…
Catttt
  • 23
  • 1
  • 4
0
votes
2 answers

VTT file containing image url and caption

Is there a way I could store image url inside VTT file? For example: WEBVTT 00:00:00.000 --> 00:00:10.000 Chapter tile goes here thumb_0001.jpg 00:00:10.000 --> 00:00:20.000 Another chapter title thumb_0002.jpg I know I could write custom…
Toniq
  • 4,492
  • 12
  • 50
  • 109
0
votes
1 answer

How can I add a superscript symbol to video subtitle/captions (VTT)

I'm trying to add reference numbers as superscript on video subtitles. Is there any way to apply or another superscript formatting tag to achieve the same expected result as in the code…
F.Igor
  • 4,119
  • 1
  • 18
  • 26
0
votes
0 answers

Detect specific automaticly loaded text files with a terminal browser

If you for example user firefox to open an url there can be a lot of text files loaded in the background e.g. with GET method. In my case I call a url with a video and there is a .vtt file loaded for the subtitles. Is there a way to do this with…
MaggusK
  • 605
  • 1
  • 8
  • 12
0
votes
0 answers

WebVTT: Escape & in subtitle for Firefox 87.0

I'd like to generate Web VTT subtitle files for a video about HTML. But I can't figure out how to show the string & in Firefox. This works fine in Chromium 89.0 (it shows &): 00:00.000 --> 00:02.000 & But Firefox 87.0 shows just &.
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
0 answers

WebVTT: Escape NOTE in subtitle for Firefox 87.0

In an application I generate Web VTT video subtitle files using input from users and other data sources. Generally this works fine, but I can't figure out how to show a subtitle line in Firefox starting with the string "NOTE". Example: 00:00.000 -->…
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
1 answer

what does xywh mean in vtt file

what do these lines: #xywh=0,0,160,90 means in vtt file for thumbnails ? WEBVTT 00:00.000 --> 00:05.000 /assets/thumbnails.jpg#xywh=0,0,160,90 00:05.000 --> 00:10.000 /assets/preview2.jpg#xywh=160,0,320,90 00:10.000 -->…
Jeremy
  • 79
  • 1
  • 6
0
votes
2 answers

import from lib in python

I import vtt_to_srt converter.I read the instructions.I make the installation.From beginning to this "no problem" but when I import it as manuals describe python can't find the module there. Installation pip install vtt_to_srt3 Usage from…
özgür Sanli
  • 103
  • 1
  • 8
0
votes
1 answer

How can you add more than one captions language?

I have created a logic app, to pull the Video Transcript(VTT) files, once the videos have been indexed. I wanted the user to have the ability to choose which language caption they want from a list of options(E.g English, Spanish, French etc). Is…
Peter
  • 71
  • 1
  • 10
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

.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

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
0
votes
1 answer

Vuejs 2 v-html not firing anchor events

I am creating an application using JW Player and Vuejs. I need to display vtt file reminiscent (https://www.ted.com/talks/julio_gil_future_tech_will_give_you_the_benefits_of_city_life_anywhere/transcript) where user can click and move to particular…
Abdul Rehaman
  • 159
  • 2
  • 11