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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking to a local file

Status
Not open for further replies.

jared5494

Technical User
Joined
Jun 9, 2002
Messages
111
Location
US
Hello,
Here is ultimately what I am trying to accomplish: Web server holds the swf player component, but i want the flv file to reside on local machines for playback.

here is the web server's html:


Code:
<object type="application/x-shockwave-flash" width="400" height="350"

wmode="transparent" data="flvplayer.swf?file=C:/sample.flv&autoStart=false">

<param name="movie" value="flvplayer.swf?file=C:/sample.flv&autoStart=false" />

<param name="wmode" value="transparent" />


so when a computer (that has the flv file on their c:/ drive) opens up the webpage, it will play it.

is this possible?

Thanks for reading and any input you provide
-Jared

 
It should be possible, assuming your SWF file handles local files. You'd need to ask in the Flasdh forum about this, as it's not an HTML problem.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
hello,
to test the script, I have another box next to me that has the flv file at c:/ and when i load the webpage, it should play, but its not.
 
Does your SWF handle local files? If so, do you need to use a proper "file://" prefix? As I said, try asking in the Flash forum, as this seems more like a Flash problem than an HTML one.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top