Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running SWF from Specific Server

Status
Not open for further replies.

B827

Technical User
Feb 14, 2002
281
GB
Hi,
You have never let me down in the past so I am sure someone knows the answer to this.

We have a multisite operationand to save loading the network with videos we have been using the SERVER VARIABLE REMOTE_HOST to select a local server as the source of a streaming video setting the source to

mms:/servername/filename

Is there an equivalent for "swf" shockwave files?

Many thanks in advance

Sandy
 
SWF files are usually included in the web page with the object tag. Youshould be able to place the full path (ip/folder/filename) in that tag to reference the object

Bastien

Any one have a techie job in Toronto, I need to work...being laid off sucks!
 
Hi Bastien,
I hope things improve for you, I have tried this in various ways but can only get it to work using
"http:....."
I cannot get the file to run from a remote NT server. There are two files involved an .swf and an .flv

I am not an expert on videos and running them but the .swf seems to have a nice package and the dlv is the actual video. The guys who packaged it up are only use the tools so they don't know how Flash player gets the files, I'm just write ASAP code so I don't either. Currently I'm stumped.

Any ideas you might have would be greatfully received.

Sandy
 
Show code, pls

Bastien

Any one have a techie job in Toronto, I need to work...being laid off sucks!
 
Hi Bastien,
I think I have cracked the problem, in writing down the code I had an idea to use \\\\IP\.... and that seems to work, just trying to prove it now.


Sandy
 
I just tested this by grabbing a remote flash file from another server

Code:
<html><body>



<OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;[/URL] WIDTH=&quot;550&quot; HEIGHT=&quot;400&quot; id=&quot;FlashContent&quot;>
<PARAM NAME=movie VALUE=&quot;[URL unfurl="true"]http://uploads.newgrounds.com/59000/59593_alien_booya.swf&quot;>[/URL]
<PARAM NAME=quality VALUE=high>
<PARAM NAME=&quot;AllowScriptAccess&quot; VALUE=&quot;never&quot;>

<EMBED src=&quot;[URL unfurl="true"]http://uploads.newgrounds.com/59000/59593_alien_booya.swf&quot;[/URL] quality=&quot;high&quot; WIDTH=&quot;550&quot; HEIGHT=&quot;400&quot; NAME=&quot;FlashContent&quot; AllowScriptAccess=&quot;never&quot; TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer&quot;></EMBED>[/URL]
</OBJECT>

</body></html>

hth

Bastien

Any one have a techie job in Toronto, I need to work...being laid off sucks!
 
hi Bastien
I used
\\\\nnn.nnn.nnn.nnn\Videos\Shockwave\video.swf

the key was the \\\\.

Thanks for your help, I needed someone to talk the problem through. Have a good weekend.

Sandy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top