-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmediaflingtest.html
68 lines (65 loc) · 2.13 KB
/
mediaflingtest.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>A bunch of test cases for media flinging</title>
<style>
p {margin-left:1-px; font-size:150%;}
</style>
</head>
<body>
<h1>Media that should cast</h1>
<p>
An .mp3 audio
<br>
<audio controls src="tetris.mp3"/>
</p>
<p>
An .ogg audio
<br>
<audio controls src="tetris.ogg"/>
</p>
<p>
An .mp4 video with a poster
<br>
<video poster="BigBuck_360x240.jpg" controls src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4" type="video/mp4"/>
</p>
<p>
A .webm video with a poster
<br>
<video poster="BigBuck_360x240.jpg" controls src="BigBuck.webm" type="video/webm"/>
</p>
<p>
An HLS video, with CORS headers
<br>
<video controls src="http://cdn.metacafe.com/videos/11344000/11344257/11344257.m3u8"/>
</p>
<p>
An .mp4 video with an unescaped URL (http://vjs.zencdn.net/v/oceans.mp4?{curly)
<br>
<video controls src="http://vjs.zencdn.net/v/oceans.mp4?{curly"/>
</p>
<p>
An .mp4 video with an escaped URL (http://vjs.zencdn.net/v/oceans.mp4?%7Bcurly)
<br>
<video controls src="http://vjs.zencdn.net/v/oceans.mp4?%7Bcurly"/>
</p>
<p>
YouTube embedded video
<br>
<iframe width="560" height="315" src="//www.youtube.com/embed/gHGDN9-oFJE" frameborder="0" allowfullscreen></iframe>
</p>
<h1>Media that shouldn't cast</h1>
<p>
An .ogv video
<br>
<video controls src="BigBuck.theora.ogv"/>
</p>
<p>
HLS video, no CORS headers
<br>
<video controls src="http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8"/>
</p>
<p>
</p>
</body>
</html>