Solved Error while atempting to play video files:

Microsoft Windows xp professional w/serv...
March 1, 2014 at 22:43:22
Specs: WINDOWS SERVER 2008, 9.6GHZ/4GB
HAY PEOPLE,

I HAVE A PROBLEM.

I OPENED RECENTLY A WEB SERVER, AND I STARTED LEARNING HTML LANGUAGE. (YESTERDAY, HAHA)

I AM DOING WERY WELL, AND I REACHED THE POINT WHERE I INCLUDE VIDEO FILES IN MY WEB PAGE.

WITH THIS SYNTAX:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>

THIS SYNTAX WORKS PERFECTLY ON MY SERVER LOCALLY.

SO, WHEN I OPEN AN HTML PAGE IN MY BROWSER ON SERVER, VIDEO IS PLAYED WITOUT ANY DIFFICIOULTIES.

BUT, WHEN I ACCESS THE SAME WEB PAGE REMOTELY (FROM CLIENT COMPUTER) I KEEP GETTING THIS ERROR MESSAGE:

404 - File or directory not found.
WHEN I ACCESS THE SAME WEB PAGE FROM SERVER, BUT USING SERVER IP ADDRESS I KEEP GETTING THIS MEESSAGE:

HTTP Error 404.3 - Not Found


BUT, THE PROBLEM IS, THE FILE IS THERE, IT EXISTS, AND IT IS NOT NAMED INCORECCTLY.

AND WEB PAGE LOADS PERFECTLY, VIDEO PLAYS WHEN I OPEN HTML PAGE DIRECTLY. BUT FROM CLIENT COMPUTER IT DOES NOT WANT TO OPEN.

SO, WHAT CAN I DO?

(PLEASE KEEP IN MIND THAT I FIRST TIME EVER STARTED LEARNING HTML YESTERDAY, AND THAT I STARTED MY FIRST WEB PAGE YESTERDAY, SO PLEASE, KEEP YOUR ANSWERS UNDERSTANDABLE. AND MAYBE IT IS SOMETHING SMALL, WERY SMALL SETTING SOMEWHERE WHICH KEEPS BLOCKING ACCESS ;)
I AM USING WINDOWS SERVER 2008 WITH IIS 7.0

PLEASE HELP

message edited by SYOBSYOT


See More: Error while atempting to play video files:

Report •


✔ Best Answer
March 8, 2014 at 12:02:53
IIS Webserver.

Look at this:

http://forums.iis.net/t/1034780.asp...



#1
March 2, 2014 at 21:48:46
Is your video located within the path of your website?
E.g.:
If the path of your website folder is:
/srv/www/videofolder

The file should be located in the folder /srv/www/videofolder


Report •

#2
March 4, 2014 at 15:07:15
HAY,
SURE IT IS.
IT IS IN THE SAME DIRECTORY AS ALL WEB PAGES (HTML FILES), PICTURES, SOUNDS, EXECUTABLES....
THAY ARE ALL IN THE SAME DIRECTORY.

BUT, IT COULD NOT BE THIS THE SOLUTION, BECAUSE, VIDEO DOES PLAY LOCALY.
SO FROM MY WEB BROWSER ON SERVER.
HOWEWER, ON CLIENT COMPUTER, OR IF I WATCH THAT WEB SITE ON SERVER BROWSER BUT GOING TRUGHT THE ROUTER, THAN EVERYTHING ELSE LOADS, EXCEPT THE VIDEO.
SO, IT MUST BE LOCATED CORRECTLY SINCE IT IS PLAYING LOCALY. ;)


Report •

#3
March 4, 2014 at 18:53:34
Hmmm, tested exactly your lines on my webserver and accessed it from the internet, and what should I say, it works perfectly.

Any special firewall rules set in your router?
Forwarding to your webserver seems to be ok, cause you can access everything except the video.

If your website is protected with username and password, did you try to access the video by using exactly the same user?


Report •

Related Solutions

#4
March 6, 2014 at 13:22:33
HAY,
NO, IT IS STANDARD ROUTER, I NEVER CONFIGURED ANY FIREWALL ON IT (IT IS TURNED OFF).
AND NO, IT IS USUAL WEB SITE, WITHOUT LOGGING IN REQUIRED.
:D

Report •

#5
March 6, 2014 at 17:12:50
Does it work with a simple picture or music from the internet?

Report •

#6
March 7, 2014 at 09:31:01
HAY,
YES, IT DOES.
I CAN PUT AS MUCH IMAGES AND MUSICS (AND .GIF MOVIES) AS I WANT, AND IT WORKS GREAT. :)
BUT JUST WITH NORMAL VIDEOS IT DOES NOT. NOT REMOTELY, ANYWAY. :(

Report •

#7
March 7, 2014 at 13:33:39
What happen, when you try an AVI or any other type of video.
Same issue?

Report •

#8
March 7, 2014 at 13:39:56
Oh one other thing.
What happens, when you try to access the video file directly.
E.g.:
http://your_public_ip/movie.mp4

Report •

#9
March 7, 2014 at 13:53:42
YES, I TRIED A MULTIPLE FILE FORMATS. :(

Report •

#10
March 7, 2014 at 14:01:34
The error 404 didn't realy make sense, when it's possible to play music files or access pictures, but not eben video files.
Cause error 404 means, that the content could not be found.

Report •

#11
March 8, 2014 at 07:43:28
WELL, WHEN I ACCESS VIDEO DIRECTLY (REMOTELY OR FROM THE SERVER), A DOWNLOAD IS STARTED. THAT IS OKEY, ALL DOWNLOAD LINKS WORKS.
SO, I COULD DOWNLOAD ANY FILE WITH A LINK FROM ANYWHERE. I CAN DOWNLOAD FILE, BUT I CANT PLAY IT REMOTELY. :(

Report •

#12
March 8, 2014 at 07:45:22
WELL, I DO NOT KNOW, THAT IS SOME STRANGE LOGIC OF A SERVER.
AND IT IS NOT JUST 404. IT IS ALSO 404.3. :(

Report •

#13
March 8, 2014 at 12:02:53
✔ Best Answer
IIS Webserver.

Look at this:

http://forums.iis.net/t/1034780.asp...


Report •

#14
March 8, 2014 at 12:10:20
OKEY. ;) :) :)

Report •

Ask Question