Skip to main content
Known Participant
April 7, 2010
Question

Newbie - Trying to call video from another server

  • April 7, 2010
  • 2 replies
  • 2833 views

I am just starting out.  I installed the Flash Media Development Server 3.5 onto a server.

I am able to call the test page: http://MyServer/index.html

But what I would like to do is create a page on http://AnotherServer/newcall.html

and have the newcall.html page display the video that is on MyServer.

The index.html page has an area that shows: EMBEDDED VIDEO
Copy the HTML Embed code below and paste it within your application, change the parameters to play your video from Flash Media Server.

Here is code snippet:

<object width='640' height='377' id='videoPlayer' name='videoPlayer' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ><param name='movie' value='swfs/videoPlayer.swf' /> <param name='quality' value='high' /> <param name='bgcolor' value='#000000' /> <param name='allowfullscreen' value='true' /> <param name='flashvars' value= '&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType=vod&autoStart=true&serverURL=rtmp:/vod/mp4:sample2_1000kbps.f4v'/><embed src='swfs/videoPlayer.swf' width='640' height='377' id='videoPlayer' quality='high' bgcolor='#000000' name='videoPlayer' allowfullscreen='true' pluginspage='http://www.adobe.com/go/getflashplayer'   flashvars='&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType=vod&autoStart=true&serverURL=rtmp:/vod/mp4:sample2_1000kbps.f4v' type='application/x-shockwave-flash'> </embed></object>

What I tried was to change rtmp:/vod/mp4:sample2_1000kbps.f4v'/ to:

rtmp:MyServer/vod/mp4:sample2_1000kbps.f4v'/

If someone could point me in the right direction, it would be appreciated.

    This topic has been closed for replies.

    2 replies

    Known Participant
    April 26, 2010

    I figured out that I wasn't instantiating the player.

    I changed param name='movie' value='swfs/videoPlayer.swf'

    to param name='movie' value='http://MyServer/swfs/videoPlayer.swf' />

    And now the video streams.  Thanks for pointing me in the right direction.

    karma_koan
    Inspiring
    May 4, 2010

    I  am having problems using Adobe's embed code and I just read your post

    http://forums.adobe.com/thread/612820?tstart=0

    I changed  param name='movie' value='swfs/videoPlayer.swf'
    to param  name='movie' value='http://www.librarymedia.net/html/swfs/videoPlayer.swf'  /> as suggested by the comment in Adobe's code and in your post, but  I am still not able to play the videos from an html page hosted on  another server. Any suggestions? I'm thinking that maybe I do not have  the correct absolute address to the swfs folder containing the flash  player, but other than that, I'm clueless.

    The  absolute path: http://www.librarymedia.net/html/swfs/videoPlayer.swf

    Relative: http://www.librarymedia.net/swfs/videoPlayer.swf

    Here's  the testing page: http://www.librarymedia.net/Flash3/pagetest2.html

    Any ideas?

    Thanks.

    Known Participant
    May 4, 2010

    Did you try value='http://www.librarymedia.net/swfs/videoPlayer.swf'

    Remember there are two places to make the change.

    Adobe Employee
    April 8, 2010

    Can you correct your URI and try:

    Use : rtmp://MyServer/vod/mp4:sample2_1000kbps.f4v instead rtmp:MyServer/vod/mp4:sample2_1000kbps.f4v

    If still that does not work , let me know.

    Known Participant
    April 12, 2010

    Sorry, late responding.  I had to go out of town.

    I added the // and I get the webpage with a black box with the movie not loaded.

    The folder I have my videos is: E:\Flash Media Server 3.5\webroot\vod\

    Adobe Employee
    April 13, 2010

    For rtmp streaming , videos need to present in "media" folder of vod i.e. E:\Flash Media Server 3.5\applications\vod\media. Put your media file there and try.