blob: 642eff14334e3920339fe471961cb6de648a99d0 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ enableModernMediaControls=false ] -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src=../media-file.js></script>
<script src=../media-controls.js></script>
<script>
var requirePixelDump = true;
function loaded()
{
consoleWrite("Rendering horizontal line-positioned cues.");
findMediaElement();
testTrack = document.querySelector('track');
video.src = findMediaFile('video', '../content/test');
waitForEvent('seeked', endTest);
waitForEvent('canplaythrough', function() {
video.currentTime = .25;
});
}
</script>
<script src=../video-test.js></script>
<script>
setCaptionDisplayMode('Automatic');
</script>
</head>
<body onload="loaded()">
<video>
<track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="captions" default>
</video>
</body>
</html>