aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/player/video.phtml
blob: 03026f70826df7d6abaa7bec2c27cd69d7ef0ecb (plain)
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
<video
	autoplay="autoplay"
	controls="controls"
	id="video-tag"
	preload="auto"
	width="<?=h($width)?>"
	height="<?=h($height)?>"
>
	<source
		data-plugin-type="flash"
		src="<?=h(link_stream('rtmp', $room, $format, $translated))?>"
		title="h.H264 (RTMP)"
		type="video/rtmp"
	/>
	<source
		data-plugin-type="native"
		src="<?=h(link_stream('hls', $room, $format, $translated))?>"
		title="h.264 (HLS)"
		type="application/vnd.apple.mpegURL"
	/>

	<object
		data="assets/js/lib/flashmediaelement.swf"
		type="application/x-shockwave-flash"
		width="<?=h($width)?>"
		height="<?=h($height)?>"
	>
		<param name="movie" value="assets/js/lib/flashmediaelement.swf" />
		<param name="flashvars" value="controls=true&file=<?=h(link_stream('rtmp', $room, $format, $translated))?>" />

		<param name="allowFullScreen" value="true">

		<pre>Sorry, Lynx is not supported.</pre>
	</object>
</video>