Hi! Everyone, hope you all are fine.
Today in this post I will tell you how you can embed YouTube videos using Yahoo Media Player. As I told be before about embed MP3 player using Yahoo Media Player if you liked that player and want to embed videos using the same here let me tell you how
Just add below JavaScript code in your website template or on the page in which you want to embed that player. If you are already using a Yahoo Media Player JavaScript code for MP3 then you can simply replace it with this one.
<script type="text/javascript" src="http://webplayer.yahooapis.com/player.js"></script>
Now directly link of your YouTube video or Yahoo! Movie page URL with a text or image you want
For e.g.:
<a href="YOUTUBE_URL">YouTube link</a>
<a href="YAHOO_ MOVIE_URL">Yahoo! Movie page link</a>
Now Yahoo will automatically detect all links and creates a player. For instance you can see that player live in this page (at bottom left corner of the page)
YouTube link
Yahoo! Movie page link
Now you will see a play icon beside every link, click on that and see the magic. 🙂
If you have any question or problem let me know.