it's not just youtube but pretty much any html embed On Jun 8, 8:38 pm, Kyrre Nygård <[EMAIL PROTECTED]> wrote: > did anybody manage figuring this out? > > On May 9, 4:08 am, "Greg Bovee" <[EMAIL PROTECTED]> wrote: > > > Well I was looking through the features to add and trying to find some way > > to possibly contribute. I noticed the youtube integration on LOVDBYLESS is > > a little unusual in that you include a youtube video by using: [youtube: > > address_of_video]. It then puts a link in your post that when clicked opens > > the video in a popup. It works, but I was hoping to find a way to actually > > get the video embedded directly in the post so you could see it as a > > preview. > > > I was able to hard code the following example in my view and it works > > perfect: > > > <object width="425" height="355"><param name="movie" > > value="http://www.youtube.com/v/Gzj723LkRJY&hl=en"></param><param > > name="wmode" > > value="transparent"></param><embed > > src="http://www.youtube.com/v/Gzj723LkRJY&hl=en" > > type="application/x-shockwave-flash" wmode="transparent" width="425" > > height="355"></embed></object> > > > When I put it in a post it gets stored, however when the page source is > > rendered it has been completely removed. I wasn't sure exactly what was > > removing it. I more or less just trying to understand a lot of this right > > now. I think I need to hit the books some more...this stuff might be above > > my abilities at this point. > > > Greg > > > On Thu, May 8, 2008 at 7:42 PM, Michael Hartl <[EMAIL PROTECTED]> wrote: > > > > Could you post an example of code that doesn't work? Most displayed > > > text on Insoshi is processed by the Rails 'sanitize' method to prevent > > > cross-site scripting attacks. It might disable YouTube embeddings as > > > a side-effect. > > > > YouTube integration is on our list of features to add > > > (http://insoshi.lighthouseapp.com/projects/9331/insoshi-roadmap). > > > Anyone want to tackle this? Supposedly there's a Rails plugin for the > > > YouTube API. (Maybe start with > > >http://agilewebdevelopment.com/plugins/you_tube_model) > > > > Michael > > > > On Thu, May 8, 2008 at 1:04 PM, gbovee <[EMAIL PROTECTED]> wrote: > > > > > What exactly is the reason you can't currently just paste a youtube > > > > embed link in your post and have it display? Is it just getting > > > > suppressed by the Bluecloth markdown tool and if so, is it possible > > > > there is a way to escape this or do you have to create some sort of > > > > custom Youtube tag? Sorry if this is elementary stuff but i'm really > > > > new to this :-) > > > > > Greg > > --~--~---------~--~----~------------~-------~--~----~ Insoshi developer site: http://dogfood.insoshi.com/ Insoshi documentation: http://docs.insoshi.com/
You received this message because you are subscribed to the Google Groups "Insoshi" 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/insoshi?hl=en -~----------~----~----~----~------~----~------~--~---
