Forum: Ruby on Rails quicktime movies

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Denise E. (Guest)
on 2006-12-24 07:49
(Received via mailing list)

I'm trying to put a quicktime movie into a page in my rails app, but
if I use an embed statement on the page, it issues a GET command that
is routed to the controller/method that is rendering the rhtml and
sending the movie name as the id.

Do I need to do something to make the routing behave differently?
or is there something else I can do to get the embed statement to
work properly?

Here is the embed statement ( which works in an html page outside of

	<embed src="" type="video/quicktime" width="320"
height="256" kioskmode="false" autostart="false" hspace="15"
vspace="15" align="middle"></embed>

And here is the error I get:

NoMethodError (You have a nil object when you didn't expect it!

Apparently it is trying to execute my_action with "" as
the id.

   Parameters: {"action"=>"my_action", "id"=>"",

Any insight is much appreciated,
seth b. (Guest)
on 2006-12-24 08:13
(Received via mailing list)
You need to put the movie in /public and reference it as...


On 12/23/06, Denise E. <removed_email_address@domain.invalid> wrote:
> or is there something else I can do to get the embed statement to
> >

seth at subimage interactive
denise (Guest)
on 2006-12-25 02:08
(Received via mailing list)

That is all it took.   Thanks so much for your help.

This topic is locked and can not be replied to.