bUgS oF a DEeBugGEr

Wednesday, January 09, 2008

Yahoo! Media Player

The Yahoo! Media Player enhances your web site or blog by creating an embedded player for each audio link. All the links can be played with one click, turning the page into a playlist. This is done by adding our JavaScript to your page.

  • Link to audio

    Insert one or more anchor elements containing the URL of an audio file into your web page. For example:

    <a href="example1.mp3">My first song</a> <a href="example2.mp3">My second song</a>
  • Embed the Player

    Copy and paste this code into your page:

    <script type="text/javascript" src="http://mediaplayer.yahoo.com/js"></script>
  • Use the player

    This play button will appear next to each of your audio links: Play Button

    Press a play button. The Yahoo! Media Player will open:

    Yahoo! Media Player

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home