From ed7b993d02eb1210e75eb04d88bdc04634b0891b Mon Sep 17 00:00:00 2001
From: MaZderMind
Date: Sun, 9 Nov 2014 19:43:33 +0100
Subject: slide stream (basic form)

---
 template/assemblies/player/slides.phtml | 48 ++++++++-------------------------
 1 file changed, 11 insertions(+), 37 deletions(-)

(limited to 'template/assemblies/player')

diff --git a/template/assemblies/player/slides.phtml b/template/assemblies/player/slides.phtml
index f9993c1..f26163a 100644
--- a/template/assemblies/player/slides.phtml
+++ b/template/assemblies/player/slides.phtml
@@ -1,39 +1,13 @@
-<pre><?=print_r(array(
-	'file' => basename(__FILE__),
-	'room' => $room,
-	'language' => $language,
-	'format' => $format
-), true)?></pre>
+<img
+	width="1024"
+	height="576"
 
-<?/*
-<video
-	autoplay="autoplay"
-	controls="controls"
-	id="video-tag"
-	preload="auto"
-	width="<?=h($width)?>"
-	height="<?=h($height)?>"
->
-	<source
-		data-plugin-type="flash"
-		src="rtmp://rtmp.streaming.media.ccc.de:1935/stream/<?=h($room)?>_<?=h($language)?>_<?=h($format)?>"
-		title="h.H264 (RTMP)"
-		type="video/rtmp"
-	/>
-	<source
-		data-plugin-type="native"
-		src="http://hls.streaming.media.ccc.de/hls/<?=h($room)?>_<?=h($language)?>_<?=h($format)?>.m3u8"
-		title="h.264 (HLS)"
-		type="application/vnd.apple.mpegURL"
-	/>
+	data-src="<?=h(link_stream('slide', $room, null, $translated))?>"
 
-	<object
-		data="static/flashmediaelement.swf"
-		type="application/x-shockwave-flash"
-		width="<?=h($width)?>"
-		height="<?=h($height)?>"
-	>
-		<param name="allowFullScreen" value="true">
-	</object>
-</video>
-*/?>
+	alt="<?=h($title)?>"
+	class="slide template"
+/>
+
+<div class="slide-audio">
+	<? include('audio.phtml') ?>
+</div>
-- 
cgit v1.2.3