###問題
chromeでvideoタグのtrack要素の字幕(vttファイルです)を有効にしたいのですが。できません。firefoxならabout:configの設定をいじればいけたのですが。chromeはどうすればいいのでしょうか?
html
1<!DOCTYPE html> 2<html lang="ja" > 3<head> 4<meta charset="utf-8"> 5<style> 6body{ 7 margin:0; 8 padding:0; 9} 10video{ 11 width:100%; 12} 13 14::cue { 15 font-size:30px; 16 background-color: transparent; 17} 18 19</style> 20</head> 21<body> 22<video src="zoo.mp4"crossorigin="anonymous" autoplay controls > 23<track kind="captions" src="zoo.vtt" srclang="ja" default></track> 24</video> 25 26<script> 27 28</script> 29</body> 30</html> 31
あなたの回答
tips
プレビュー