Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

Flash video won't play if html page is in root

Hello Experts,

I'm trying to play a flash video from the root directory and it won't work but it will work from the sub directory. As far as I know the paths are correct but there is something else? Driving me crazy!!! View page source to see code - thanks

This works:
http://www.newlifecs.org/NLCS320/index320.html

Not works:
http://www.newlifecs.org/index320.html
0
Nigel-SA
Asked:
Nigel-SA
  • 3
  • 3
2 Solutions
 
Jason C. LevineNo oneCommented:
Hi Nigel-SA,

When I look at the non-working page in Firebug I get a 404 error for:

http://www.newlifecs.org/AuthoredContent.xml 

I assume that file is in the /NLCS320/ subdirectory?  Your movie player must have been hardcoded to work with that file, so it needs to be at the same level as the calling page.
0
 
Nigel-SAAuthor Commented:
Hi jason1178,

Yes, I should have clarified - the working files are under NLCS320.  I have multiple videos I have to play at some point so I need to separate them.
0
 
Jason C. LevineNo oneCommented:
That's fine, but the XML file is what is preventing it from playing.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Nigel-SAAuthor Commented:
So I copied the AuthoredContent.xml file to the root and it worked - thanks.  Looks like this file can point to multiple locations/video sources - just have to stay on top of it!!
0
 
Jason C. LevineNo oneCommented:
>>  Looks like this file can point to multiple locations/video sources - just have to stay on top of it!!

Yep.  Alternately, you can always switch to a different player that's coded a bit better.  Something like the JW Media Player...
0
 
Nigel-SAAuthor Commented:
Thanks for the help and tip
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now