Tuesday, November 20, 2012

How To Embed YouTube As An Audio Player In Blog

Author: Gagan Masoun
How To Embed YouTube As An Audio Player In BlogYouTube created on the 14th of February 2005, YouTube has known as a major video-sharing website around the world. YouTube is fabulously free for use, people can upload, share or view the videos of their interest. It requires only Adobe flash player to become a viewer of YouTube videos.

You can find any type of video on YouTube like: education, technology, how-to, music etc. In this article you will learn How To Embed YouTube as an Audio Player.

Recommend For You: How To Add Mp3 Music Player In Blogger Blog

This is CSS based trick where you embed the regular YouTube video player and then with the help of CSS you can hide the video inside the embedded player. See live demo below:



Without boring you with the deeply details, here’s the easy and short HTML code that turn your YouTube video into an Mp3 player. 
<div style="position:relative;width:267px;height:25px;overflow:hidden;">
  <div style="position:absolute;top:-276px;left:-5px">
    <iframe width="300" height="300" 
      src="https://www.youtube.com/embed/q1wK0r51ARs?rel=0">
    </iframe>
  </div>
</div>
Remember Notes: Simply replace the YouTube ID (highlighted in yellow color) with the ID of your YouTube video and you are done.

You May Like To Read:
  1. 5 Steps To Make Money On YouTube
  2. YouTube: A Source Of Fame And Fun For Many People
  3. YouTube Annotations Update: Allow Links To External Websites
You see the YouTube official logo inside the player, when clicked, will migrate you to the original video hosted on the YouTube website. If you need our help then you can ask via comments.

Author
Author - Gagan Masoun is the owner of Blogs Daddy Blog.Gagan lives in India, has been blogging since 2010 and writing Blogs Daddy Blog since 2011.You can find him in the usual social networks.

3 comments: