aboutsummaryrefslogtreecommitdiff
path: root/pages/relive-player.php
blob: fe697b3507cb149d923133f0532556448b727621 (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
<?php

require_once('lib/bootstrap.php');

$talks = file_get_contents('http://vod.c3voc.de/relive/index.json');
$talks = json_decode($talks, true);

$talkhit = null;
foreach($talks as $talk) {
	if($talk['id'] == $_GET['id'])
		$talkhit = $talk;
}

if(!$talkhit) return;

echo $tpl->render(array(
	'page' => 'relive-player',
	'title' => 'Relive!',
	'talk' => $talkhit,

	'width' => 1024,
	'height' => 576,
	'relive' => true,
));