I'm passing the following as a parameter to a modal:
"<iframe width="350" height="197" src="http://www.youtube.com/embed/jsExp2ebB4s?feature=oembed" frameborder="0" allowfullscreen></iframe>"
Then, I try to render it dynamically in a modal...in my show.js....
$("#modalpostvid").html("params[:vid]")
But it loads text (i.e. loads it as a string) instead of the embedded video.
How can I make it so that the video embeds?
Thank you.