Tech Off Thread

6 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Passing mms:// url to embeeded windows media player on web page in asp.net

Back to Forum: Tech Off
  • User profile image
    fanindra

    Hi ,

    I am trying to pass url like "mms://ipaddress/0123456789" to embeeded windows media player in mobile web form (asp.net). it gives me an error like "Cannot find the file .the file might have been moved,renamed,or deleted .if the file is stored on server or removable storage card,the server or card might not be available."

     If I pass url like "http://www.jhepple.com/SampleMovies/niceday.wmv" it first download whole video and then play it.actually I want it should continuously stream video data and play it simulataneoulsy.

    My window media player version is 10.


    My sample code is like,


    <object id="MediaPlayer" width="200" height="200" class="back"

    classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" standby="Loading

    Windows Media Player components..." type="application/x-oleobject">

    <param name="url" value="mms://ipaddress/0123456789" />

    <param name="controller" value="true" />

    <param name="autoplay" value="true" />

    </object>



    Please suggest,

    Thanks in Advance,

    Fanindra

  • User profile image
    ZippyV

    You do have a media server on the webserver installed so the content can be streamed right?

  • User profile image
    fanindra

    ZippyV said:
    You do have a media server on the webserver installed so the content can be streamed right?

    Thanks for your reply ZippyV,

    Yes,contents are properly streamed on normal web page as well as on window media player, when we provide direct url.but on mobile web page it is not working.

    Any guess why it is happening ?

  • User profile image
    Dodo

    fanindra said:
    ZippyV said:
    *snip*

    Thanks for your reply ZippyV,

    Yes,contents are properly streamed on normal web page as well as on window media player, when we provide direct url.but on mobile web page it is not working.

    Any guess why it is happening ?

    You might want to add this:
    <Param Name="FileName" Value="mms://myserver/mypath/myfile.wmv">

    Or, you could try to use an ASX Playlist containing the streaming media.
    <ASX version="3.0"> 
    <TITLE>Playlist Title</TITLE> 
    <ENTRY> 
    <TITLE>Entry Title</TITLE> 
    <AUTHOR>Author Name</AUTHOR> 
    <COPYRIGHT>Copyright Notice</COPYRIGHT>
    <REF HREF="mms://myserver/mypath/myfile.wmv"/> 
    </ENTRY> 
    </ASX>
    

  • User profile image
    fanindra

    Dodo said:
    fanindra said:
    *snip*
    You might want to add this:
    <Param Name="FileName" Value="mms://myserver/mypath/myfile.wmv">

    Or, you could try to use an ASX Playlist containing the streaming media.
    <ASX version="3.0"> 
    <TITLE>Playlist Title</TITLE> 
    <ENTRY> 
    <TITLE>Entry Title</TITLE> 
    <AUTHOR>Author Name</AUTHOR> 
    <COPYRIGHT>Copyright Notice</COPYRIGHT>
    <REF HREF="mms://myserver/mypath/myfile.wmv"/> 
    </ENTRY> 
    </ASX>
    
    Hi Dodo,

    Thanks for your reply,actually our URL format is like "mms://11.22.33.44/1234568789"  not "mms://11.22.33.44/filename.wmv"

    I have tested your URL format. it is streamming  and playing , but video is not displaying. 


    Is there any problem with my configuration setting of Emulator or problem in microsoft media server (streamming server )configuration ?

    Please Suggest,

    Fanindra.



  • User profile image
    Dodo

    fanindra said:
    Dodo said:
    *snip*
    Hi Dodo,

    Thanks for your reply,actually our URL format is like "mms://11.22.33.44/1234568789"  not "mms://11.22.33.44/filename.wmv"

    I have tested your URL format. it is streamming  and playing , but video is not displaying. 


    Is there any problem with my configuration setting of Emulator or problem in microsoft media server (streamming server )configuration ?

    Please Suggest,

    Fanindra.



    If the video isn't being displayed, your device might not support the used video codec or bitrate. Try to use a different codec version or bitrate. It might however be, that the emulator is messing things up.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.