ASX Stream Playing through VLC.exe but not Embeded

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
ssolomon
New Cone
New Cone
Posts: 1
Joined: 22 Oct 2009 23:16

ASX Stream Playing through VLC.exe but not Embeded

Postby ssolomon » 22 Oct 2009 23:21

I put in an HTTP url for a .ASX stream into the VLC Player, and it plays fine. When I define the same stream to be used through an embedded player, as follows (MRL param), nothing shows up in the player window:

<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
width="480"
height="320"
id="vlc"
events="True">
<param name="MRL" value="http://servername.att.com/U_7065_4200_01.asx"/>
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<param name="Volume" value="50" />
<param name="toolbar" value="true" />
<param name="StartTime" value="0" />
<EMBED pluginspage="http://www.videolan.org"
type="application/x-vlc-plugin"
version="VideoLAN.VLCPlugin.2"
width="480"
height="320"
toolbar="true"
name="vlc">
</EMBED>
</OBJECT>


Any suggestions on how I can diagnose this? (I'm not able to locate a vlc log file anywhere). Other HTTP streams (non ASX) are working fine through both the player and the object tag.

Thanks, Steve

JohnnyOh
New Cone
New Cone
Posts: 6
Joined: 02 Feb 2010 20:06

Re: ASX Stream Playing through VLC.exe but not Embeded

Postby JohnnyOh » 02 Feb 2010 20:57

As far as I can tell through testing, the current plugin versions for VLC will not support input of ASX or any other types of playlist wrappers. The plugin does work with individual files though but only properly for IE, Safari, and Firefox. In Chrome and Opera the Mozilla plugin conflicts with and takes over embedded WMP players.

Opening a .asx playlist directly in VLC through "Open Network Stream" does work as does clicking on an asx file as long as file associations for asx are set to open with VLC. However this is not the same as embedding VLC in a webpage.

I do see many posts that reference playlists but I do not know how to implement with the following embed code:

<OBJECT id=vlc codeBase="http://downloads.videolan.org/pub/video ... /axvlc.cab" classid=clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8 width=506 height=380 events="True"><PARAM NAME="AutoLoop" VALUE="-1"><PARAM NAME="AutoPlay" VALUE="-1"><PARAM NAME="Toolbar" VALUE="0"><PARAM NAME="ExtentWidth" VALUE="13387"><PARAM NAME="ExtentHeight" VALUE="10054"><PARAM NAME="MRL" VALUE="http://server.com/mediafiletoplay"><PARAM NAME="Visible" VALUE="-1"><PARAM NAME="Volume" VALUE="100"><PARAM NAME="StartTime" VALUE="0"><PARAM NAME="BaseURL" VALUE=""><PARAM NAME="BackColor" VALUE="0">
<embed allowscriptaccess="never" type="application/x-vlc-plugin" name="VLC" autoplay="yes" loop="no" volume="100" width="506" height="380" target="http://server.com/mediafiletoplay"></OBJECT>

If anyone can tell me how to make .asx files work with the embed plugins I would appreciate it very much.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 22 guests