Trying to link to mp4

Hi,
I have an mp4 file I need to link to from my website. I have uploaded it to my webhosts server using FTP and added the link to my webpage. But when I click on the image/link, I get a page that says “the page cannot be found”. I’ve tried a number of things with no success. Can anyone tell me why this is happening? This file was provided by the client. I am unable to change it’s format in any way. I can run it on my computer from the folder it is in, so I know it works. I just can’t seem to get it to work on the webpage.

The website is: http://www.oaknoll.com

The video appears at the bottom of the page. It’s the 50th Anniversary video.

Thank you,
Sarb

Check the path and filename match exactly. Are you sure the file is not in any sub-folder?
It may be better to embed the video, as a direct link to the file may result in a download, not playout.

I originally had it in a folder named “video” but since that didn’t seem to work, I tried putting it in the root folder with the webpage files. That didn’t work either. I haven’t tried embedding it as it seems like a large file, but I will try it.

Hi there sarb,

you have no mp4 file either here…

http://www.oaknoll.com/Oaknoll-TV-Show-Proof.mp4

…or here…

http://www.oaknoll.com/video/Oaknoll-TV-Show-Proof.mp4

So where have you put it?

coothead

2 Likes

I am looking at my server using Filezilla and the mp4 file appears in both the “video” folder and the “root” folder (the same place the index.asp file is that the video is on, I believe that is considered the root folder). I removed the spaces from the mp4 file name thinking maybe that was causing problems. Still nothing. But the mp4 file appears in both folders on my server when I look at it thru Filezilla. Ugh…

If it is certain the file is there, named the same, and there isn’t a cached page being used, the only other thing I can think of is inadequate permission values.

Hi there sarb,

are you absolutely certain that Oaknoll-TV-Show-Proof is correct?

coothead

I’ve taken a screen shot of my filezilla window showing the two files. But I can’t figure out how to insert the picture into this post. Any suggestions?

You can drag and drop into the edit window, or use the upload button on the editor.

Did that work?

You might need to add something like this to your .htaccess file:

AddType video/m4v .m4v
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

Seeing all those “.asp” files I have a strong feeling there isn’t an htaccess file to edit.

I don’t know, but my take from
Add a MIME Type (IIS 7)

You should create MIME types to help clients handle new file name extensions appropriately. If IIS 7 does not recognize the file name extension requested by the client, IIS 7 sends the content as the default MIME type, which is Application. This MIME type signifies that the file contains application data, and usually means that clients cannot process the file.

is that it would give an error message other than

HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

But maybe not.

In any case, making sure the MIME type is there (and supported) is a good idea.

1 Like

ya, no htaccess that i can find…

If you have Google Webmaster Tools installed try:

/Crawl/Fetch as Google

The results are usually quite comprehensive.

Not sure what /Crawl/Fetch is?

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.