Playing WMV

May 3, 2010 at 3:02 PM
Edited May 3, 2010 at 3:04 PM
I tried playing asx on the player and it worked fine. But, can we play a wmv on this player? I tried creating a instance of the player using Javascript API and it was not streaming the wmv file type.
May 28, 2010 at 9:18 PM

Hi jerryg,

I'm using mine for WMV live streams and WMV archive videos exclusively. In the Init params, you'll want to use:

<param name="initParams" value="m=mms://123.12.123.12:5119/SomeFolder/MovieName.wmv,autostart=true" />

I've found that the "m=" part is critical; other players (WMP, QT, etc) don't require it in the path but this one does.

I have some code in this forum under Simple JavaScript Controls if you'd like to take a look. I'm not the best coder (by far), but every little bit might help.