Solved

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

Posted on 2011-02-12
6
315 Views
Last Modified: 2012-06-22
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
Comment
Question by:Nigel-SA
  • 3
  • 3
6 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 34880862
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
 

Author Comment

by:Nigel-SA
ID: 34880988
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
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 500 total points
ID: 34881012
That's fine, but the XML file is what is preventing it from playing.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:Nigel-SA
ID: 34881058
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
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 34881067
>>  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
 

Author Closing Comment

by:Nigel-SA
ID: 34881071
Thanks for the help and tip
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The goal of the tutorial is to teach the user how to how to record live broadcast.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question