Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6230361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:44:04+00:00 2026-05-24T09:44:04+00:00

I am quite new to php and apache. My root folder is C:\xampp\htdocs and

  • 0

I am quite new to php and apache. My root folder is C:\xampp\htdocs and my php and javascripts are located in C:\xampp\htdocs\CF However I need to access my movie collection at the following paths: F:\Movies – 2 and also at E:\Movies (these are external hard drives). I did some reading and learned that I could use alias in the httpd.conf folder to get access to these folders (I have too many of them to copy them all to the root directory) So now the httpd.conf folder looks like this:

ServerName localhost:80
Alias /Movies2 "F:\Movies - 2"
Alias /Movies "E:\Movies"

DocumentRoot "C:/xampp/htdocs"

<Directory />
  Options FollowSymLinks
  AllowOverride None
  Order deny,allow
  Deny from all
</Directory>

<Directory />
  Options +Indexes
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>

I probably did not set this up correctly because all of the directions I was able to find assumed that the reader was not a complete noob 🙂

At any rate I am able to access pictures in the alias folders, but the corresponding movies would not play. For example, the following image element would display correctly:

<img src="../Movies2/127 Hours (2010)/folder.jpg" />

However, the following movie would not play:

<OBJECT ID="MediaPlayer" WIDTH="712" HEIGHT="428" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"

STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">

<PARAM NAME="FileName" VALUE="127 Hours (2010).avi">

<PARAM name="autostart" VALUE="false">

<PARAM name="ShowControls" VALUE="true">

<param name="ShowStatusBar" value="false">

<PARAM name="ShowDisplay" VALUE="false">

<EMBED TYPE="application/x-mplayer2" SRC="../Movies2/127 Hours (2010)/127 Hours (2010).avi" NAME="MediaPlayer"

WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>

When I right click on the embedded media player and select properties its shows:
“http://localhost/CF/127 Hours (2010).avi”
However, when I select the properties of the image it shows:
“http://localhost/Movies2/127%20Hours%20(2010)/folder.jpg&#8221;

So to be clear how do I get the movie to play in my embedded media player?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:44:04+00:00Added an answer on May 24, 2026 at 9:44 am

    Is the video path incorrect ?

    http://localhost/CF/127 Hours (2010).avi
    

    In your codes provided, you didn’t mention the CF folder.

    This piece of code is old & does not handle cross-browser issues. Try new library such as VideoJS, they will handle cross-browser issues for you too.

    Also, it is advised NOT to use space for files that puts on web server. consider to user underscore ( “_” ) instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is probably something really simple, however I am quite new to PHP, and
I'm quite new to Zend & JSON, however I have the need to learn.
I'm quite new to PHP so I'm still learning the very basics, however I'm
Hi I am quite new to php but i have been following some tutorials
I'm quite new to php and have been reading Larry Ullman book to develop
please see: http://pastebin.com/5za3uCi1 I'm quite new to php and I'm editing the ventrilo status
My environment is Apache, DB is mySQL and language is PHP. What I need
Basically i am quite new to PHP and recently i have had heard quite
I'm quite new on php and am trying to learn it. My question is
Hi im quite new to PHP, i have created a form for very large

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.