aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
authorMaZderMind2014-10-17 16:06:42 +0200
committerMaZderMind2014-10-17 16:06:42 +0200
commit0bf0647032ff6f2d6f50b21dfe1f7e3f0837c834 (patch)
treecc94f8a1b54d5ec5e44b6c024e599ef59de9d0f5 /template/assemblies
parentab87cf1cf59edffde2be404251ffb1013b67fc2d (diff)
copy media.ccc.de style
Diffstat (limited to 'template/assemblies')
-rw-r--r--template/assemblies/header.phtml31
-rw-r--r--template/assemblies/motd.phtml36
-rw-r--r--template/assemblies/player-video.phtml30
3 files changed, 97 insertions, 0 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
new file mode 100644
index 0000000..5a8a013
--- /dev/null
+++ b/template/assemblies/header.phtml
@@ -0,0 +1,31 @@
+<div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="container-fluid">
+ <div class="navbar-header">
+ <a class="navbar-brand" href="index.html">
+ <img alt="ccc-tv logo, a tv displaying a play icon" src="assets/img/tv.png">
+ ccc-tv
+ </a>
+ </div>
+
+ <div class="nav navbar-form navbar-right button-wrapper">
+ <a class="form-control btn btn-default" href="podcast.xml">
+ <span class="fa fa-rss"></span>
+ </a>
+ <a class="form-control btn btn-default" href="about.html">
+ <span class="fa fa-info"></span>
+ </a>
+ </div>
+
+ <form action="/search/" class="navbar-form navbar-right" id="media-search" method="get" role="search">
+ <div class="form-group input-group">
+ <input class="form-control" name="q" placeholder="Search…" size="17" type="search">
+ <span class="input-group-btn">
+ <button class="btn btn-default" type="submit">
+ <span class="fa fa-search"></span>
+ </button>
+ </span>
+ </div>
+ </form>
+
+ </div>
+</div>
diff --git a/template/assemblies/motd.phtml b/template/assemblies/motd.phtml
new file mode 100644
index 0000000..561a4b5
--- /dev/null
+++ b/template/assemblies/motd.phtml
@@ -0,0 +1,36 @@
+<!--
+
+ 1010101010101010101010101010101
+ 0 0 ◺ ◺
+ 1 0 0 0\ 10 01
+ 0 · 1 101010101010101010101\ 10 0 ◺
+ 1 · · 0 10 10 10 10
+ 0 · · 1010101010101010101010101010 1 10 10 10 10
+ 1 · · 10\10 10 101 1010
+ 0 · · 1010101010101010101010101010 1010101010101010
+ 1 · · 0 10101010231010101010
+ 0 · 1 101010101010101010101010101010101 10 10
+ 1 0 0 1/ 101010 101 1 0
+ 0 0 10 01
+ 1010101010101010101010101010101 101010 10
+ 10101010101 10 1
+ 101 01
+ 101010101010 10
+ This website 1010101010 10
+ shall be bound to __ _____ ___ 101
+ serve cat content \ \ / / _ \ / __| 10101010101
+ \ V / (_) | (__ 101 101
+ c3\_/ \___/ \___|.de 10 101
+ 10 10 10 101
+ 10 10 10 10 10
+ 101 10 10 10101
+ 10 10 10
+ 10 10
+ 1010 10 10
+ 10101 10 10
+ 10
+ 10
+ 10
+ 10
+ streaming.media.ccc.de
+-->
diff --git a/template/assemblies/player-video.phtml b/template/assemblies/player-video.phtml
new file mode 100644
index 0000000..824a776
--- /dev/null
+++ b/template/assemblies/player-video.phtml
@@ -0,0 +1,30 @@
+<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"
+ />
+
+ <object
+ data="static/flashmediaelement.swf"
+ type="application/x-shockwave-flash"
+ width="<?=h($width)?>"
+ height="<?=h($height)?>"
+ >
+ <param name="allowFullScreen" value="true">
+ </object>
+</video>