| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>Reference for WebVTT rendering, cue reposition after enabling controls</t
itle> | 2 <title>Reference for WebVTT rendering, cue reposition after enabling controls</t
itle> |
| 3 <style> | 3 <style> |
| 4 .video { | 4 .video { |
| 5 display: inline-block; | 5 display: inline-block; |
| 6 outline: solid; | 6 outline: solid; |
| 7 width: 320px; | 7 width: 320px; |
| 8 height: 240px; | 8 height: 240px; |
| 9 position: relative | 9 position: relative |
| 10 } | 10 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 text-align: center | 21 text-align: center |
| 22 } | 22 } |
| 23 .cue > span { | 23 .cue > span { |
| 24 font-family: Ahem, sans-serif; | 24 font-family: Ahem, sans-serif; |
| 25 background: rgba(0,0,0,0.8); | 25 background: rgba(0,0,0,0.8); |
| 26 color: green; | 26 color: green; |
| 27 font-size: 50px; | 27 font-size: 50px; |
| 28 } | 28 } |
| 29 </style> | 29 </style> |
| 30 <video controls> | 30 <video controls> |
| 31 <source src="/media/white.webm" type="video/webm"> | 31 <source src="/media/white.webm" type="video/webm"> |
| 32 <source src="/media/white.mp4" type="video/mp4"> | 32 <source src="/media/white.mp4" type="video/mp4"> |
| 33 </video> | 33 </video> |
| 34 <div class="video"><span class="cue"><span>Foo</span></span></div> | 34 <div class="video"><span class="cue"><span>Foo</span></span></div> |
| OLD | NEW |