| <!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> |