Solved

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

Posted on 2011-02-12
6
317 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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…

808 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