cis notified web server of a job completion; upload form interface and validation...
[living-lab-site.git] / application / views / video / ns-vlc_plugin_view.php
1 <!-- OBSOLETE -->
2
3 <div id="vlc_container">No VLC</div>
4 <table id="nsTable">
5         <tr><td id="nsPlaybackCell"><input type=button value="Play" onClick="play();" />
6         <input type=button value="Pause" onClick="pause();" />
7         <input type=button value="Stop" onclick="stop();" /></td>
8         <td id="nsTimeCell"><span id="nsTime">-</span></td>
9         <td><div id="nsVol"></div></td>
10         <td><input type=button value="Fullscreen" onclick="fullscreen();" /></td></tr>
11         <tr><td colspan="4"><div id="nsSlider"></div></td></tr>
12 </table>
13
14 <script type="text/javascript">
15         if (navigator.appName == "Netscape")
16         {
17                 $('#vlc_container').html(
18                         '<embed type="application/x-ns-stream" name="vlc" id="vlc" autoplay="no" loop="no" width="' + getPluginWidth() + '" height="' + getPluginHeight() + '" target="<?php echo $url ?>" />');
19         }
20         else
21         {
22                 $('$vlc_container').html(
23                         '<object classid="clsid:1800B8AF-4E33-43C0-AFC7-894433C13538" codebase="http://trial.p2p-next.org/download/SwarmPlugin_IE_1.0.4.cab" width="' + getPluginWidth() + '" height="' + getPluginHeight() + '" id="vlc" name="vlc" events="True" target="">'
24                         + '<param name="Src" value="<?php echo $url ?>" />'
25                         + '<param name="ShowDisplay" value="True" />'
26                         + '<param name="Loop" value="False" />'
27                         + '<param name="AutoPlay" value="False" />'
28                         + '<param name="Toolbar" value="True" />'
29                         + '</object>');
30         }
31         
32         loadControls();
33 </script>