LiveLeak.com embedding?


(Piotr Z Marek) #1

I know that there are terrible content and guts on top. But despite this we use a lot of content there. Integration of these videos, which are now displayed as a link, it would be excellent.

By the way, I wanted to point out that the idea to create thumbnails of content (photos / video) in the first post is excellent (like on reddit). Someone mentioned it - it’s a good idea!

I’m currently looking for a forum for my website. Discourse is amazing and I will give you a kidney for these two functions!


(Jeff Atwood) #2

Well let’s see

Embed code is

<iframe width="640" height="360" src="http://www.liveleak.com/ll_embed?f=3d54c6e720f2" frameborder="0" allowfullscreen></iframe>

Not sure if they support oEmbed.


(Sam Saffron) #3

They do support open graph though, we could be doing a lot better here:

<meta property="og:title" content="LiveLeak.com - Dog Not Allowed On The Bed">
 <meta property="og:description" content="hidden camera captures his defiance  . . . . . 
lil bastard!!! ;)">
    <meta property="og:image" content="<img src='//discourse-meta.s3-us-west-1.amazonaws.com/original/3X/b/c/bc243d8013915f85f6fc3e065e062285d7ae48db.jpg'>">
    <meta http-equiv="X-Frame-Options" content="deny">
    <meta property="og:url" content="http://www.liveleak.com/view?i=bb5_1394936283">

I would go as far as to say this is probably another onebox regression.

cc @eviltrout


(Robin Ward) #4

I just had to whitelist them. They don’t supply video information but you can embed a little preview image:

https://github.com/discourse/onebox/commit/d870394453d44a5488898e571c7bc734ddc8392b


(Crackmacs) #5

Wow old topic! Came here to inquire about exactly this, embedding similarly to youtube.

Any plans to do that?

Thanks!!


(Piotr Z Marek) #6

it seems that nothing has changed :okay:

Hey guys, these features certainly would help many Discourse users!