summaryrefslogtreecommitdiff
path: root/contrib/www/esc/player.php
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/www/esc/player.php')
-rw-r--r--contrib/www/esc/player.php77
1 files changed, 0 insertions, 77 deletions
diff --git a/contrib/www/esc/player.php b/contrib/www/esc/player.php
deleted file mode 100644
index f5da311..0000000
--- a/contrib/www/esc/player.php
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php require_once('init.php'); ?>
- <table id="header" width="<?php printf('%dpx', $WIDTH); ?>">
- <tr>
- <td align='left' width='40%'>
-<?php
- switch($MODE) {
- case 'html5': {
- echo " <span class='selected'>HTML5</span>";
- echo " <span><a href='$URL_FLASH'>FLASH</a></span>";
- break;
- }
- case 'flash': {
- echo " <span><a href='$URL_HTML5'>HTML5</a></span>";
- echo " <span class='selected'>FLASH</span>";
- break;
- }
- }
-?>
- </td>
- <td align='right' width='60%'>
-<?php
- switch($PROFILE) {
- case 'high': {
- echo " <span class='selected'>high</span>";
- echo " <span><a href='$URL_LOW'>low</a></span>";
- break;
- }
- case 'low': {
- echo " <span><a href='$URL_HIGH'>high</a></span>";
- echo " <span class='selected'>low</span>";
- break;
- }
- }
-?>
- </td>
- </tr>
- </table>
-<?php if ($MODE == "flash") { ?>
- <script type="text/javascript" src="/flowplayer/flowplayer-3.2.6.min.js"></script>
- <div id="player" style="<?php printf('display:block;width:%dpx;height:%dpx', $WIDTH, $HEIGHT); ?>"></div>
- <script>flowplayer("player", "/flowplayer/flowplayer-3.2.7.swf", {
- clip: {
- url: "<?php echo $STREAM_URL_FLASH; ?>",
- autoPlay: true,
- autoBuffering: true,
- bufferLength: 5,
- live: true,
- scaling: "fit"
- },
- plugins: {
- controls: {
- url: "/flowplayer/flowplayer.controls-3.2.5.swf",
- time: false,
- }
- }
- } );
- </script>
-<?php } else { ?>
- <video width=<?php echo $WIDTH; ?> height=<?php echo $HEIGHT; ?> autoplay controls>
- <source src="<?php echo $STREAM_URL_WEBM; ?>" type="video/webm" />
- <source src="<?php echo $STREAM_URL_HLS; ?>" type="application/x-mpegURL" />
- </video>
-<?php } ?>
- <table id="footer" width="<?php printf('%dpx', $WIDTH); ?>">
- <tr>
- <td align='right'>
- <h2>Direct Link(s):</h2>
- </td>
- <td align='left'>
-<?php if ($MODE == "flash") {
- echo " $STREAM_URL_FLASH";
- } else {
- echo " $STREAM_URL_WEBM<br />";
- echo " $STREAM_URL_HLS";
- } ?>
- </td>
- </table>