aboutsummaryrefslogtreecommitdiff
path: root/template/relive-player.phtml
blob: d425ca8faec97d1e837451100adbb69ffb4dcdb2 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<div class="container">
	<div class="row headline">
		<div class="col-xs-12">
			<h1><?=h($title)?></h1>
		</div>
	</div>

	<? if($talk['status'] == 'released'): ?>
		<div class="row">
			<div class="col-xs-12">
				<div class="alert alert-success">
					<h3>Released</h3>
					<p>This talk is already released! Take a look at <a href="<?=h($talk['release_url'])?>"><?=h(parse_url($talk['release_url'], PHP_URL_HOST))?></a>.</p>
				</div>
			</div>
		</div>
	<? endif ?>

	<? if(isset($talk['mp4'])): ?>
		<div class="row">
			<div class="col-xs-12">
				<div class="alert alert-success">
					<h3>Download</h3>
					<p>Click here to <a href="<?=h($talk['mp4'])?>">Download</a> this Relive recording. Beware! This is an unprocessed streamdump – a final release will follow soon.</p>
				</div>
			</div>
		</div>
	<? endif ?>

	<div class="row">
		<div class="col-xs-12">
			<div class="player-wrap">
				<? include("$assemblies/player/relive.phtml") ?>
			</div>
		</div>
	</div>

	<div class="row">
		<div class="col-xs-12 col-md-8 col-md-offset-2">
			<div class="well">
				<div class="desktop-player-hint">
					<h3>Sorry about the Flash</h3>
					<p>
						As there is no desktop player which supports time-shifting, we chose embed a Flash player here which does.
						If you still want to watch with a desktop player, use this URL: <a href="<?=h($talk['playlist'])?>"><?=h($talk['playlist'])?></a>
						(Note: Downloading this file is useless because of the way HLS works. You need to play the URL from your player.)
					</p>
				</div>
			</div>
		</div>
	</div>
</div>