Windows

How To Embed Video With Side Playlist

In this tutorial you will see how to create a YouTube video gallery using jQuery and add the Youtube playlist to your Blogger blog. Inside this gallery/playlist, you can add your favorite youtube videos or any video that you want to share with your visitors. Because of its default dimensions (width of 765px), it is recommended to add it just below the blog header, however, you can edit CSS code to fit anywhere you want to add it

To add this video slider/youtube playlist to your blog, please follow these steps below;

From your blogger dashboard, go to Template  Edit HTML and click anywhere inside the code area to open the Blogger search box by pressing the CTRL + F keys.

Type or paste the </head> tag inside the search box and hit Enter to find it.
Just above this tag, add the following scripts:



Now let's add the CSS code. Just above the same  </head> tag, add this code:



Click on the Save Template button

To make this youtube playlist work we need to add the HTML structure of it:

Go to  Layout  or Pages or anywhere you want to add it and add the following code inside the HTML area (if you want to add it as a widget, paste the code inside a HTML/Javascript gadget by clicking on  Add a gadget link within the Layout/Page Elements section)



Add the IDs of your videos to where it says video_ID_1..., titles Video Name and a brief description (Video Description).

To get the ID of a video, open the video on YouTube and look at the address bar - you need only the last characters after "v"

Note that each video ID should be added two times, the ones in red are for the video and the ones in orange are for the tabs thumbnail

To add more videos, add two lines like the ones in bold above and then change the video [] and #vid... number. If you decided to add it inside a post or page, please make sure that you don't switch back to the Compose tab and publish your post while you're still on the HTML tab, otherwise the #vid location will be replaced with some other odd Blogger URLs.

Post a Comment

0 Comments