It is getting a 404 (not found error) looking for: http://www.strobelmotorsports.com/Class_1_Test_NE_flv.flv
You need to upload the video to this location Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Scott Booth Sent: Monday, 16 February 2009 12:56 PM To: [email protected] Subject: RE: Embedded Flash Video Doesn't Play w/SWFObject Aran - Thanks for pointing me in the right direction. I know I'm doing something simple that is preventing this embedded video from playing properly (like file path settings). I've since set the content path in my Flash file to have NO path (meaning it will source and publish in the same directory, I think!?) which is fine for the simple site that I'm attempting to build. After doing so, both a small test file with ONLY the embedded flash video and test of the actual .html page I'm attempting to publish STILL do not play after uploading. Both play perfectly from my local machine. Below are the .html files and updated SWF file. Any chance you have time to take another look...again I truly appreciate your troubleshooting help. http://www.strobelmotorsports.com/video_pod_fla_220w.html http://www.strobelmotorsports.com/video_test.htm video_pod_fla_220w.swf (same .swf file, but after correcting for content path and republishing) Thanks again, Aran. Scott Booth m: (972) 849-0727 email: [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aran Rhee Sent: Sunday, February 15, 2009 6:34 PM To: [email protected] Subject: RE: Embedded Flash Video Doesn't Play w/SWFObject After looking inside your swf, I can see that you are setting your content path to your video incorrectly. contentPath = "C:\\Documents and Settings\\Scott Booth\\My Documents\\Akaku Consulting\\Current Clients\\Strobel Motorsports\\Rel 2_Trophy_Truck\\images_original\\Class_1_Test_NE_flv.flv"; You need to set this just as: contentPath = "Class_1_Test_NE_flv.flv"; if the video file lives in the same location and the player swf. You should NEVER have a local file reference if you are going to deploy on the web, as it will never work. As a beginner, I would suggest in the future that you upload your video to the actual web location first and then run the import command in Flash and point to the live location. This way you can ensure a full absolute path to the video that will work. The only downside to this is that if you move the video to a new location on the server that you will have to change you path in the swf too. Using relative paths like the above fix gets around this, but can cause issues for beginners to ensure relative pathing is correct (if the video and swf live in different locations) Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, 16 February 2009 11:10 AM To: SWFObject Cc: [email protected] Subject: Embedded Flash Video Doesn't Play w/SWFObject I'm having trouble getting an embedded video to play after .html is uploaded to my server. I'm using some older tools (Dreamweaver 8) and it publishes basic <object> and <embed> tags to publish the video in the .html code. The embedded video works great when launching on my local PC. However, after uploading to webhost, the video does not play. I understand that browsers were updated and embedded videos are handled better via javascripting and have been researching alternatives. I've attempted to use Adobe javascripting options like those found at: http://www.adobe.com/devnet/activecontent/articles/devletter.html . I was unsuccessful with either approach illustrated there and am now also attempting to use SWFObject 2.1. Any advice on what I'm doing wrong would be most welcomed. I'm a relatively novice web designer and am clearly out of my depth here. But, I'm hoping to get a new site with embedded video launched in the next week if possible and am now at my wit's end! html file: http://www.strobelmotorsports.com/swfobject_test.html swf file: foo.swf Thanks for your review and input. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
