document.write('<embed type="application/x-ns-stream"');\r
document.write('name="vlc"');\r
document.write('id="vlc"');\r
- document.write('autoplay="yes" loop="no" width="');\r
+ document.write('autoplay="no" loop="no" width="');\r
document.write('' + getPluginWidth());\r
document.write('" height="');\r
document.write('' + getPluginHeight());\r
\r
$(document).ready(function() \r
{\r
+ if(document.vlc == null)\r
+ return;\r
+ \r
// Progress Slider\r
$("#nsSlider").slider({ animate: true });\r
$("#nsSlider").slider({ min: 0 });\r
function fullscreen()\r
{\r
document.vlc.video.toggleFullscreen();\r
-}
\ No newline at end of file
+}\r