Posting youtube videos on your site-use irframe or "old embed code"
-
If you choose "embed" now, youtube gives you the choice of using an iframe:
<iframe width="430" height="352" src="http://www.youtube.com/embed/0-nKXALtHWs?rel=0" frameborder="0" allowfullscreen=""></iframe>
or, the old embed code:
<object width="430" height="352"><param name="movie" value="http://www.youtube.com/v/0-nKXALtHWs?version=3&hl=en_US&rel=0"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/0-nKXALtHWs?version=3&hl=en_US&rel=0" type="application/x-shockwave-flash" width="430" height="352" allowscriptaccess="always" allowfullscreen="true"></object>
Is either better when it comes to seo?
-
I would imagine that it doesn't really make a difference. There is no textual content for the bots to read (unless you write out the transcript for the video) so theoretically, each of these would return the same SEO result.
-
Depends... if your blog/site has a big volume of visit from mobile, the iframe is surely the best option, because - if I am not wrong - that way you are sure that users will actually see the video in their mobile device.
But, if I've to choose, I would choose the old embed code until it is available. The reason? This awesome trick explained in this old post by Paddy Moogan in the Distilled blog: Getting Links and SEO Value from your YouTube Video; a trick that needs the old embed code to work.
Finally, whatever you choose, don't forget to create the video sitemaps.
-
Gianluca, that is an incredible find! That article is talking about adding a link back to your youtube channel when people choose to embed the code from your site. But, what if you gave your viewers embed code that contained a link saying, "Video shared by www.yourwebsite.com"? with a link back to your site???
-
I would also check out www.wistia.com where you can also track stats for the video.
-
Perfectly possible. YouTube is a service where you host your videos, but the main "screen" is your site, so it is also "ethically" permitted (if you value the ethic in links).
In the case of a video which is not yours... you can configure the code to show two links: to the author youtube page and to your site.
-
This is really exciting! I've configured the code to put a line after the video that says, "Want this video on your website? Here's the code:" and then if they use the code intact it will show the video with a line underneath that says, "Courtesy of mywebsite."