How To Embed YouTube Videos inward Your Blogger Comments

How To Embed YouTube Videos inward Blogger Comments How To Embed YouTube Videos inward Your Blogger Comments

We bring debated many times that why YouTube is the world’s #1 online broadcasting website, but anyone had always idea of embedding the videos inward their Comments. Perhaps, it is extremely straightforward to embed a video inward an HTML Doc, but embedding them inward Comments appears to survive a rusty task. While investigating, nosotros came across a robust plugin oEmbed specification. They bring a simplest API that helps a website provider to embed multiple contents on his website. 

At starting fourth dimension become it appeared to survive an uphill occupation because Blogger neither back upwardly PHP nor Python. Therefore, creating a JavaScript file that provides same functionalities was a chip taught. However, later simply about hours of difficult piece of work our intellectual developing squad in conclusion nailed it i.e. http://oembed-js.appspot.com/?url=[Youtbe-URL][&callback=foo].
Now the Main work is that, how nosotros should utilize it? We tin sack simply Paste the YouTube Video link inward Blogger Comments too it would automatically grab the video details, too would embed it inward Comments. Surprise, it seems similar nosotros bring finally, solved the mystery. 


Note: It Takes a piece to Load thus delight hold patience till the whole page stops loading.

How To Embed YouTube Videos inward Blogger Comments How To Embed YouTube Videos inward Your Blogger Comments

The Solution on how to Embed YouTube Videos inward Blogger Comments:

Now In social club to convert the YouTube video link into an embedded video it’s essential to include the JavaScript coding. Once, it is practiced to go, all nosotros bring to create is to comment proper YouTube Video URL inward Comments. First follow the next instructions.
Go to Blogger.com >> Template >> Edit HTML >> Proceed. Now inside the Template, Search (CTRL+F) for the ending </head> Tag too simply to a higher house it glue the next JavaScript Coding.  

<script src=’http://code.jquery.com/jquery-latest.js’ type=’text/javascript’></script>
<script type=’text/javascript’>

<script src=’https://mybloggerlab.googlecode.com/files/YTcomment.js’ type=’text/javascript’></script>
<script type=’text/javascript’>

Once everything is done striking the “Save Template” button. Now whenever a catch would insert a YouTube video link inward Comments it would automatically embed it inside the comment box. This JavaScript is flexible too industrial plant on most all commenting systems of blogger whether its default or personalized. 
However, if anyone wants to display the Videos’ URL instead of embedding thus inward that scenario they tin sack brand utilization of the next code. Remember: to replace, the URL according to your wishing needs. Also perish on inward remove heed it would exclusively piece of work on YouTube videos because the script is designed exclusively for it.
In greater many cases, people mightiness complain an consequence inward loading speed of a spider web page that has lots of Movies attached. In that case, nosotros tin sack endeavor Lazy loading YouTube Videos technique that most saves 60% of retentiveness space. Thus, helps inward speeding upwardly a spider web page that fifty-fifty bring twenty to 25 videos attached. 


Sumber http://www.mybloggerlab.com