Quicktime Movie from Hard Disk

Hi there,

i want to embed a Quicktime-Movie on my Page.
I use the following code:

<embed src="Z:/09002_R/client/090423_1730/RO.mov" width="200"
height="240" autoplay="true">

Getting the file by an internet-adress erverything is fine, but it
doesn't apply by using the path from my hard-disk.

Is their a special usage of describing path-names in rails?

Hi there,

i want to embed a Quicktime-Movie on my Page.
I use the following code:

<embed src="Z:/09002_R/client/090423_1730/RO.mov" width="200"
height="240" autoplay="true">

Getting the file by an internet-adress erverything is fine, but it
doesn't apply by using the path from my hard-disk.

Well a file url looks something like this:

file:///Z:/09002_R/client/090423_1730/RO.mov

But if that works at all, it will only work on YOUR computer, or at
least one which has that file in that place on a local Z disk.

I think that most browsers balk at such a URL anyway when it's
received from a server.

Is their a special usage of describing path-names in rails?

If you want to serve up the file, you need to put it under the public
directory, say in a movies subdirectory, and then use a path like

movies/movie_name.mov

I'm not sure what your directory structure means you could have a
subdirectory structure under public/movies the point is that the url
path should be relative to the public dir.

And what can i do, if the file is some "levels" higher than my
public-folder. Is there a possibility to browse "back". I tried so much
... but nothing worked.

No, there isn't - barring sneaky stuff involving send_file, you'll
need to put the file someplace that gets served to the web.

If you weren't on Windows, I'd suggest trying a symlink, but Windows
doesn't support that.

--Matt Jones