Solved

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

Posted on 2011-02-12
6
312 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now