Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 10th, 2012  |  syntax: None  |  size: 1.85 KB  |  views: 14,434  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Viewing IP camera via embedded VLC
  2. http://192.168.1.99:99/videostream.cgi?user=UNhere&pwd=PWhere&resolution32=&rate=0
  3.        
  4. <html>
  5. <head><title>Demo of VLC</title></head>
  6.  <h1>Demo of VLC mozilla plugin - Example 1</h1>
  7.  
  8. <script type="text/javascript">
  9. function mute()
  10.     {
  11.     vlc.audio.toggleMute();
  12.     }
  13. function play()
  14.     {
  15.     vlc.playlist.play();
  16.     }
  17. function stop()
  18.     {
  19.     vlc.playlist.stop();
  20.     }
  21. function pause()
  22.     {  
  23.     vlc.playlist.togglePause();
  24.     }
  25. <body >
  26. <!--[if IE]>
  27. <object type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
  28.     version="VideoLAN.VLCPlugin.2" id="vlc" width="720px"
  29.     height="540px" events="True" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" >
  30.     <param name="MRL" value="http://192.168.1.99:99/videostream.cgi?user=UNhere&pwd=PWhere&resolution32=&rate=0" />
  31.     <param name="volume" value="50" />
  32.     <param name="autoplay" value="false" />
  33.     <param name="loop" value="false" />
  34.     <param name="fullscreen" value="false" />
  35. </object>
  36. <![endif]-->
  37.  
  38. <!--[if !IE]><!-->
  39. <object type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
  40.     version="VideoLAN.VLCPlugin.2" id="vlc" width="720px" height="540px" events="True" >
  41.     <param name="MRL" value="http://192.168.1.99:99/videostream.cgi?user=UNhere&pwd=PWhere&resolution32=&rate=0" />
  42.     <param name="volume" value="50" />
  43.     <param name="autoplay" value="false" />
  44.     <param name="loop" value="false" />
  45.     <param name="fullscreen" value="false" />
  46. </object>
  47. <!--<![endif]-->
  48. </div>
  49. <br />
  50. </div>
  51. <iframe name="action_zone" style="display:none"></iframe>
  52. <div id="controls">
  53.     <input type="button" onclick="play()" value="Play" />
  54.     <input type="button" onclick="pause()" value="Pause" />
  55.     <input type="button" onclick="stop()" value="Stop" />
  56.     <input type="button" onclick="mute()" value="Mute" />
  57. </div>
  58.  </body>
  59. </html>
clone this paste RAW Paste Data