Wednesday, April 16, 2014

Always Use NOEMBED When Embedding Video in your Blog

YoutubeWe frequently come across situations in our RSS readers where the post title says "iPhone Demo" but the area where user expect to see that embedded video is blank.




 You may think that the blogger forgot to embed the video in his blog post but the actual reason is something else. Visit the same blog in userr browser and user will see the video displaying perfectly.

If user are blogger and dont want userr readers to run into a similar situation, Nick Bradburysuggests that always use the NOEMBED tag when embedding Youtube videos in userr blog posts

In that case, if the RSS reader fails to display the video player properly, userr subscribers get to know about it. Heres a real example.

Default YouTube Embed Code

<embed src="http://www.usertube.com/v/ujt_UT0MvH4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>

YouTube HTML code with NOEMBED

<embed src="http://www.usertube.com/v/ujt_UT0MvH4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>
<noembed>
<a href="http://www.usertube.com/watch?v=ujt_UT0MvH4">Watch on Youtube</a></noembed>


The NOEMBED tag may have the hyperlink to the actual video or a thumbnail image of some video frame, something that blip.tv does automatically.

0 comments to “Always Use NOEMBED When Embedding Video in your Blog”

Post a Comment

 

Information Sharing Copyright © 2016 -- Powered by Blogger