Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Can't get Video Text Tracks to display on video for web page for class.

  • 1 ответ
  • 1 имеет эту проблему
  • 19 просмотров
  • Последний ответ от WestEnd

more options

I'm trying to do a follow-along with my text book. It has us input a video clip and then add VTT (video text track). The video plays fine, but I cannot get the VTT to display. The code is EXACTLY as the text book shows it. I have selected the Closed Captioning button and turned it on/off several times. The VTT code is entered as the book shows, the VTT is applied to the video in my html page. And the file is label correctly. Code for reference. From cp_royal.html

Click the play button to view this classic dance sequence.

         

To play this video clip, your browser needs to support HTML5.

         


From cp_captions.vtt

Title 00:00.500 --> 00:04.000 line:5% align:middle The Ceiling Dance

Subtitle 00:04.500 --> 00:08.000 line:5% align:middle from Royal Wedding (1951)

Ending 01:38.000 --> 01:44.000 line:80% position:95% align:end See more videos at Cinema Penguin

I'm trying to do a follow-along with my text book. It has us input a video clip and then add VTT (video text track). The video plays fine, but I cannot get the VTT to display. The code is EXACTLY as the text book shows it. I have selected the Closed Captioning button and turned it on/off several times. The VTT code is entered as the book shows, the VTT is applied to the video in my html page. And the file is label correctly. Code for reference. From cp_royal.html <p>Click the play button to view this classic dance sequence.</p> <video controls poster="cp_photo2.png"> <source src="cp_dance.mp4" type="video/mp4" /> <source src="cp_dance.webm" type="video/webm" /> <track kind="captions" label="Dance Captions" src="cp_captions.vtt" default /> <p><em>To play this video clip, your browser needs to support HTML5.</em></p> </video> From cp_captions.vtt Title 00:00.500 --> 00:04.000 line:5% align:middle The Ceiling Dance Subtitle 00:04.500 --> 00:08.000 line:5% align:middle from Royal Wedding (1951) Ending 01:38.000 --> 01:44.000 line:80% position:95% align:end See more videos at Cinema Penguin

Все ответы (1)

more options