streaming-website/template/relive-player.phtml
2015-12-28 11:21:51 +01:00

54 lines
1.6 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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(forceproto($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(forceproto($talk['playlist']))?>"><?=h(forceproto($talk['playlist']))?></a>
</p>
<p>
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>