Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: not2easy
do i need to contact the hosting company to do anything special?
how do i embed the video in the site and link it properly?
things i know about their hosting account
- Unix, share enviroment
- tarabyte transfer
- 40 gb of space
any help would be great :)
i tried playing with it last night. i downloaded a trial version of flash. and imported the video and let flash do its thing. so i have a .flv file and two .swf. i found some code on the internet on how to embed it ....i change somethings so it can work on my site....
but its not working.
this is the code i found
<embed src="http://www.myfileserver.com/folder/flvplayer.swf" width="320" height="240"
bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
i think im pretty close. is there anyway i can post my link or send it to someone to see if they can see what im doing wrong?
I wont provide sample code because this is really not the best approach. The best is to use the open source library SWFObject. Google for it and follow the examples. It's really easy to set up. What it does is places a static image of the Flash as a placeholder:
<div id="video"><img src="your-screen-cap-of-video.jpg"></div>
And it's valid code.
The other problem you might face:
If this is truly a streaming flash player, it will load the .flv externally, buffer it, and begin to play once the buffer is filled. If the entire video is loaded before playing, it's not really streaming. (Google for "NetConnection()" for samples.) But let's get it playing first before deciding if it's streaming or not.