summaryrefslogtreecommitdiffstats
path: root/lib/class/stream_playlist.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/stream_playlist.class.php')
-rw-r--r--lib/class/stream_playlist.class.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/class/stream_playlist.class.php b/lib/class/stream_playlist.class.php
index 6d85f8f0..1f8b4b88 100644
--- a/lib/class/stream_playlist.class.php
+++ b/lib/class/stream_playlist.class.php
@@ -160,6 +160,7 @@ class Stream_Playlist {
case 'democratic':
case 'localplay':
case 'xspf_player':
+ case 'html5_player':
// These are valid, but witchy
$redirect = false;
unset($ext);
@@ -396,6 +397,15 @@ class Stream_Playlist {
} // create_xspf_player
/**
+ * create_html5_player
+ *
+ * Creates an html5 player.
+ */
+ public function create_html5_player() {
+ require Config::get('prefix') . '/templates/create_html5_player.inc.php';
+ }
+
+ /**
* create_localplay
* This calls the Localplay API to add the URLs and then start playback
*/
@@ -450,7 +460,5 @@ class Stream_Playlist {
echo $url->url . "\n";
}
} // create_ram
-
}
-
?>