]> git.sesse.net Git - vlc/commitdiff
Update test.html for mozilla and activex based browsers.
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 1 May 2009 13:35:12 +0000 (15:35 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Tue, 5 May 2009 09:41:45 +0000 (11:41 +0200)
projects/activex/test.html
projects/mozilla/test.html

index c618e30e37d7344a4396a46d7ff052cc22f483a9..f87932eac7f179156945dd55ff169dd0928b7514 100644 (file)
@@ -552,8 +552,8 @@ function doGo(targetURL)
             // clear() may return before the playlist has actually been cleared\r
             // just wait for it to finish its job\r
         }\r
-\r
-        var itemId = vlc.playlist.add(targetURL);\r
+        var options = new Array(":rtsp-tcp");\r
+        var itemId = vlc.playlist.add(targetURL,"",options);\r
         if( itemId != -1 )\r
         {\r
             // clear the message log and enable error logging\r
index c618e30e37d7344a4396a46d7ff052cc22f483a9..f87932eac7f179156945dd55ff169dd0928b7514 100644 (file)
@@ -552,8 +552,8 @@ function doGo(targetURL)
             // clear() may return before the playlist has actually been cleared\r
             // just wait for it to finish its job\r
         }\r
-\r
-        var itemId = vlc.playlist.add(targetURL);\r
+        var options = new Array(":rtsp-tcp");\r
+        var itemId = vlc.playlist.add(targetURL,"",options);\r
         if( itemId != -1 )\r
         {\r
             // clear the message log and enable error logging\r