Disable autoplay on flash player.
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 17 Feb 2007 20:45:57 +0000 (20:45 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 17 Feb 2007 20:45:57 +0000 (20:45 +0000)
share/http/flash.html

index 5bcb48a..3281f36 100644 (file)
@@ -36,7 +36,7 @@ host = document.location.toString().replace( /http:\/\//, '' ).replace( /[:/].*/
   <script type="text/javascript">\r
 // <![CDATA[\r
   document.write( '' +\r
-'        <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: true, playList: [{ url: \'http://' + host + ':8081/stream.flv\', controlEnabled: true}] }" />' );\r
+'        <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: false, playList: [{ url: \'http://' + host + ':8081/stream.flv\', controlEnabled: true}] }" />' );\r
 // ]]>\r
 </script>\r
   </object>\r