Hey everyone, I have a post in the Dreamweaver section, but, due to its nature I might get a better response from this crowd. This is the post.
I am just having some troubles getting a video to work.
Thanks in advance!
Help Publishing Flash Videohai,
When we publishing a flash movie to play a video using FLVPlayBack, there should be a source url to the video(Probably an FLV file). If the video is placed along with the SWF file simply the name of the FLV only.
I think the problem here is, the swf file unable to find the video file.
Help Publishing Flash VideoHi there webqaflash, thanks for your response.
I have been doing more research and testing, and I think it has to do with the way I am linking the f4v file to the swf.
This gets a bit technical, but, I am running my sites on my testing server using virtual hosts. Online I run into the same problem. When I go to the testing server or online it tries accessing a folder on my hard drive, rather than from a site relative folder. However, when I test the html page using the hard drive location (file://C:wamp/www/Sites/.....) instead of the testing server or online, it will play the file just fine.
So again, I believe the problem lies in how I am importing the f4v file to the swf file.
How do I import the f4v file to the swf file so that it will work in my testing environment, and online, and just using the hard drive location of the html page (file:/C:wamp/www/Sites/...)?
Thanks again for you help. I appreciate it.
Ok, so I found a way to make it work in all the standards compliant browsers (except ie 8 if that is included now). For some reason even though I changed the source of the video in the component inspector to the following location:
http://www.jasonandersonwebdesign.com/examples/abcgbi/about_us/ABC_Great_Beginni ngs_Commercial.f4v
internet explorer, versions 6, 7, and 8 all give me the following error:
SecurityError: Error #2148: SWF file http://www.jasonandersonwebdesign.com/examples/abcgbi/about_us/tv_commercial_01. swf cannot access local resource C:\wamp\www\Sites\ABCGreatBeginnings\new_look\videos\ABC Great Beginnings Commercial.f4v. Only local-with-filesystem and trusted local SWF files may access local resources.
?at flash.net::NetStream/play()
?at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_play()
?at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
?at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
?at fl.video::VideoPlayer/load()
?at fl.video::FLVPlayback/doContentPathConnect()
For some reason it is still trying to access the f4v file on my computer. But it only does this in IE 6, 7, and 8. Any suggestions?
No comments:
Post a Comment