--> YouTube Shortcode For Blogger Blogs! | Experience Lab - Online business creation and development guide for bloggers and startups

YouTube Shortcode For Blogger Blogs!

After having developed shortcodes for SoundCloud and Dailymotion , it is now time to start embedding YouTube Video Player and YouTube Pla...

youtube shortcode plugin

After having developed shortcodes for SoundCloud and Dailymotion, it is now time to start embedding YouTube Video Player and YouTube Playlists anywhere you want. The shortcode for YouTube player lets you insert the player inside your Posts, Widgets and even the threaded comments with a single line of code. The method is extremely easy and lets you add the responsive version YouTube video Player which adjusts automatically to any screen size. You can now easily share MP4 or HD videos with your readers from YouTube with an extremely easy way. Lets see its demo in action!

Note: If YouTube is banned in your country try viewing the demo by installing this tool.

There are some old techniques which lets you embed YouTube videos in blogger comments but the method we are sharing today gives you an extra benefit. It lets you add a light-weight shortcode  which can be inserted almost anywhere not just the comment sections. You can treat it as a simple TEXT which can be pasted on any location of your template structure. It also gives you full control over your player or playlist thanks to the attributes which you can configure to turn ON or OFF the Player options. So it has a lot more to offer than any method shared earlier!

 

1. Install Blogger Shortcode Plugin

In order to use YouTube shortcode you must first install the shortcode plugin for your blogger blog by following 7 easy steps shared on the link below:

Skip installing it if you have already added it in your blogger template

2. How To create the YouTube Shortcode?

First select a video from Youtube and then copy its Video ID which is a 11 Characters pattern that is added at the end of every YouTube Page URL, as shown below

Video ID of youTube

In our example the Video ID is Qy4yULSqBA0.

Next use the shortcode below to insert your Player anywhere on your blog

[youtube src="Qy4yULSqBA0"/]

Replace the Video ID inside src with yours.

Output:

youtube shortcode output

That simple!

Create a YouTube Playlist Shortcode

This time find your favorite playlist on Youtube and copy the Video ID and Playlist ID from the URL in your address bar as shown below

finding youtube Playlist ID

Then use the shortcode below to embed your playlist on your web blog

[youtube src="-L-GOHa5-YQ" playlist="PL332F98D63FD60CB6"/]

The Video ID is inserted inside "src" and Playlist ID is inserted inside "playlist"

Output:

playlist shortcode

Customize your Player!

Find below the complete list attributes supported by the shortcode

Attribute Definition
src Insert Video ID here
playlist Insert Playlist ID here
width Adjusts width of video player. Can also be assigned in percentage for responsiveness.
height Adjusts height of video player
info Setting it to "0" will hide the video title and player actions. By default it is set to "1"
control Setting it to "0" will hide the player controls like the play/pause buttons, settings, streamer and Volume options. By default it is set to "1"
related Setting it to "1" will show suggested videos when the video finishes. By default it is set to false i.e. "0"

Use the format below to insert attributes inside shortcode. In the video below I am turning OFF the controls, Video title and turning ON showing related videos when video ends. I am also re-sizing the video using custom width and height.


[youtube src="z2_2cFityc4" control="0" info="0" related="1" width="450" height="350"/]

Output:

customize youtube player

Wasn't that easy!

Need Help?

I hope this new shortcode helps you embed videos on your blog with much more ease and comfort. Let us know if you need any help if needed. There is a lot more to come which will change your blogging experience forever. Stay tuned!

Peace and blessings buddies! =d

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: YouTube Shortcode For Blogger Blogs!
YouTube Shortcode For Blogger Blogs!
http://lh6.ggpht.com/-jjF_bgfcAlg/VS_DUa5dK_I/AAAAAAAAOuM/WFrT8nz3580/image%25255B7%25255D.png?imgmax=800
http://lh6.ggpht.com/-jjF_bgfcAlg/VS_DUa5dK_I/AAAAAAAAOuM/WFrT8nz3580/s72-c/image%25255B7%25255D.png?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2015/04/youtube-shortcode-for-blogger-blogs.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2015/04/youtube-shortcode-for-blogger-blogs.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy