Tushar Gandhi wrote:
> Hi,
> I want to build an functionality by which user will add the youtube
> video link into my app. After that he/she should be able to see the
> video in my application.
> Like in facebook you can add the video link and that video will be shown
> into facebook with the video's image and name.
>
> Can anyone tell me how to do this?
> Is there any plugin/gem avaliable for this?
>
>
> Thanks,
> Tushar
Hi Tushar,
Have to tried this:
<object width="480" height="385"><param name="movie" value="#{link you
want to show for e.g.
http://www.youtube.com/v/sM-wckCGIEE&hl=en_US&fs=1&}"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed src="#{link you
want to show for e.g.
http://www.youtube.com/v/sM-wckCGIEE&hl=en_US&fs=1&}"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="480" height="385"></embed></object>
Might Help.
Ragards,
Saurabh
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.