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

Posted on 2011-02-12
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:

Not works:
Question by:Nigel-SA
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
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: 

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.

Author Comment

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.
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.
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!


Author Comment

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!!
LVL 70

Accepted Solution

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...

Author Closing Comment

ID: 34881071
Thanks for the help and tip

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

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.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

749 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