I suspect that may be silly for the experience Rail developers I'm building an application that is an UDR The video player is deemed to be embedded.
so i.e. in the XXX.html.erb file. Now the problem is @movie. Trailer My variable is in Ruby Code, which contains the URL value. I want an embedded video to load with the URL given by this variable value. Any suggestions how do I believe in the part of Ruby Variable (@ movie.trailer)
object <= 425 "height =" 344 "> & lt; param name =" movie "value =" & lt;% @ movie.trailer%> "& gt; ; & Lt; / param & gt; param name = "allowFullScreen" value = "true" & gt; & lt; / param & gt; param name = "permissions" element = "always" & gt; ; << Parameters> Right "width =" 425 "height =" 344 "> << Embed & gt; & lt; / object & gt;
Note: This code is completely fine Working if I statically assign value to url.
Comments
Post a Comment