1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
fuchsia_web / webengine / test / data / cast_streaming_receiver.html [blame]
<!DOCTYPE html>
<!--
Copyright 2020 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<html>
<body>
<video src="data:cast_streaming_receiver">
<script>
var video = document.querySelector('video');
video.onerror = function() {
document.title = "error";
}
// We currently don't actually load any video, so just want to make sure
// that the web video player has successfully loaded the metadata.
video.onloadedmetadata = function() {
document.title = "loadedmetadata";
}
</script>
</body>
</html>