How to reference an 4fv on a Flash Media Server from a web server on another server.

The code below was taken directly from the Flash Media Server "start page" that ships with the server.

For starters, I simply want to reference / play a video from the media server by embedding this code on another web server.  

It seems that some additional changes to to this code or to my website server itself but I don't know what those are.

Ken





<object width='640' height='377' id='StrobeMediaPlayback' name='StrobeMediaPlayback' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' >
<param name='movie' value='swfs/StrobeMediaPlayback.swf' /> <param name='quality' value='high' />
<param name='allowScriptAccess' value='always' /> <param name='bgcolor' value='#000000' /> <param name='allowfullscreen' value='true' />
<param name='flashvars' value= '&src=rtmp://111.111.111.111/vod/mp4:sample2_1000kbps.f4v&autoHideControlBar=false&streamType=recorded&autoPlay=true'/>
<embed src='swfs/StrobeMediaPlayback.swf' width='640' height='377' id='StrobeMediaPlayback' quality='high' allowScriptAccess='always' bgcolor='#000000' name='StrobeMediaPlayback' allowfullscreen='true'
pluginspage='http://www.adobe.com/go/getflashplayer'   flashvars='&src=rtmp://111.111.111.111/vod/mp4:sample2_1000kbps.f4v&autoHideControlBar=false&streamType=recorded&autoPlay=true' type='application/x-shockwave-flash'> </embed></object>
kflorianAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
dgofmanCommented:
You need just add full URL to your SWF file from another server

<param name='movie' value='http://www.mysecondserverdomain.com/swfs/StrobeMediaPlayback.swf' />

<embed src='http://www.mysecondserverdomain.com/swfs/StrobeMediaPlayback.swf'

Don't forget to create crosssdomain.xml file on your second server.
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
kflorianAuthor Commented:
dgofman,

Thanks.  "doh" on my part.

I'm not sure what the contents of a crossomain.xml file are but I did not need one after specifying a FQDN.


Ken
0
 
kflorianAuthor Commented:
dgofman,

Ready to award the points for the right answer (which got me most of the way there) but before I close this question, I apparently do need the crossdomain.xml file. Interestingly enough, one browser renders the flash fine, another one does not...possibly because of the cross-site reference.

Any additional pointers much appreciated.

Ken
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.