PDA

View Full Version : How do you embed a video like from Youtube


Oreos Girl
07-22-2011, 09:13 AM
I know lots of people know how to do this but I don't have a clue. I was trying to embed a video from CNN and I have their code but I have tried just pasting, imputting a weblink, an image. Which of these buttons at the top do I need?

Thanks

WashingtonBoy
07-22-2011, 10:09 AM
We have a plugin installed that will automatically convert a standard link into the embed code for a large number of sites, and CNN is one of them that should work. Try just entering a link to the video's page (cnn.com/video/etc...) and post it. If it doesn't work, let me know and I'll see if I get it figured out.

Oreos Girl
07-22-2011, 10:14 AM
When I preview the post all I get is the code. It is this

<object width="400" height="300" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="ep"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://ireport.cnn.com/themes/custom/resources/cvplayer/ireport_embed.swf?player=embed&configPath=http://ireport.cnn.com&playlistId=638406&contentId=638406/0&" /><param name="bgcolor" value="#FFFFFF" /><embed src="http://ireport.cnn.com/themes/custom/resources/cvplayer/ireport_embed.swf?player=embed&configPath=http://ireport.cnn.com&playlistId=638406&contentId=638406/0&" type="application/x-shockwave-flash" bgcolor="#FFFFFF" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>

WashingtonBoy
07-22-2011, 10:21 AM
When you get the share code from the site, use the Link option instead of Embed. However, it looks like their code has changed a bit, so I'll have to see if I can tweak the plugin to update it.

http://www.cnn.com/video/#/video/us/2011/07/22/carter.bronx.green.cnn

Oreos Girl
07-22-2011, 10:24 AM
I was hoping to have the video in the post but this works.

offgridgirl
09-04-2011, 08:17 PM
Hummm I can't get the video to embed either...AAARRRRGGGG!!!:(

WashingtonBoy
09-04-2011, 08:31 PM
From CNN as well, or another site?

It's important to note that the auto-embed will not show up when you preview the post, only when you actually submit it. That is when the filter clicks in.

WashingtonBoy
09-04-2011, 09:12 PM
I checked your thread, and did some testing, and think I figured out what is going on.

When you click the Share button on YouTube, by default it now uses a youtu.be short URL, which the auto-embed filter does not recognize.

Instead of using that, click the 'Show Options' link and check the box for 'Long Link'. Copy and paste that into your post, and video will embed.

http://www.baywindfarm.com/forum/attachment.php?attachmentid=10790&stc=1&d=1315195872

dame_wolf
09-05-2011, 08:56 AM
Any suggestions on sharing/embedding from Facebook?

WashingtonBoy
09-05-2011, 09:11 AM
Facebook should work...

http://www.facebook.com/video/video.php?v=10150326323406807

Well heck, I can't get that to work either. And unfortunately, it's a bit out of my expertise trying to fix or edit these things.

offgridgirl
09-11-2011, 10:08 PM
thanks for the help...it was strange and even hubby was stumped!!:)