Removed the unused streaming functions/templates
[squasher.git] / squasher.class.php
index 76e86a88afdffb32f541d6284ec9f6144697455c..1427e405372d7ac03302be7efab91e7af3fbafc1 100644 (file)
@@ -1047,76 +1047,6 @@ function set_mime($filename) {
        return $mime;
 }
 
-function embed_video($h) {
-       /*JASPER FIX, use config->systemurl */
-               ?>
-      <!-- begin embedded WindowsMedia file... -->
-      <table border='0' cellpadding='0' align="center">
-      <tr><td>
-      <OBJECT id='mediaPlayer'
-      classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
-      codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
-      standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
-      <param name='fileName' value="http://master.squasher.netformatie.nl/?x=asx&f=<?=$h;?>">
-      <param name='animationatStart' value='true'>
-      <param name='transparentatStart' value='true'>
-      <param name='autoStart' value="true">
-      <param name='showControls' value="true">
-      <param name='loop' value="true">
-                       <param name="BufferingTime" value="3">
-      <EMBED type='application/x-mplayer2'
-        pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
-        id='mediaPlayer' name='mediaPlayer' autosize='1'
-        bgcolor='darkblue' showcontrols="true" showtracker='-1'
-        showdisplay='0' showstatusbar='-1' videoborder3d='-1' width='480' height='320'
-        src="http://master.squasher.netformatie.nl/?x=asx&f=<?=$h;?>" autostart="true" designtimesp='5311' loop="true">
-      </EMBED>
-      </OBJECT>
-      </td></tr>
-      <!-- ...end embedded WindowsMedia file -->
-       <!-- begin link to launch external media player... -->
-        <tr><td align='center'>
-        <a href="http://master.squasher.netformatie.nl/?x=asx&f=<?=$h;?>" style='font-size: 85%;' target='_blank'>Launch in external player</a>
-        <!-- ...end link to launch external media player... -->
-        </td></tr>
-      </table>
-               <?
-       }
-
-function create_playlist($h, $t='asx', $title='Title') {
-       switch ($t) {
-
-               case 'asx':
-
-                       header('Content-Disposition: attachment; filename="stream.asx"');
-                       echo '<ASX version="3.0">
-<title>Squasher Streaming Video</title>
-       <Entry>
-               <title>Video Stream</title>
-               <ref HREF="http://master.squasher.netformatie.nl/?a=x&f='.$h.'"/>
-       </Entry>
-</ASX>';
-
-                       break;
-
-               case 'vlc':
-                       header('Content-Disposition: attachment; filename="stream.'.$t.'"');
-                       echo '#EXTM3U
-#EXTINF:-1,Squasher Streaming Video - '.$title.'
-http://master.squasher.netformatie.nl/?a=x&f='.$h.'';
-
-                       break;
-
-               case 'm3u':
-               default:
-                       header('Content-Disposition: attachment; filename="stream.m3u"');
-                       echo '#EXTM3U
-#EXTINF:-1,Squasher Streaming Video - '.$title.'
-http://master.squasher.netformatie.nl/?a=x&f='.$h.'';
-
-                       break;
-               }
-       }
 }
 // vim: syntax=php ts=4 sw=4 sts=4 sr noet
 ?>