July 17, 2008

Extension of the Week: YUI Media Player

Yahoo Developer NetworkThe extension I’m going to focus on this week is the  YUI Media Player. The Yahoo! User Interface (YUI) Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. The YUI Media Player is a javascript/flash application which recognizes all links to mp3 files in your web page and embeds a player into the page. This decreases the dependency of the user’s local applications to play the mp3 file along with giving a great user experience.

To install the YUI Media Player follow the instructions here. Once installed add the following code to any Deki page that has mp3s attached or linked on:

{{ yui.mediaplayer{} }}

The extension will take over from there and automatically add a play button next to your mp3 links and expand a player on the left side of the screen like the following:

YUI Media Player

To see the extension in action check out the documentation page.

If you have any questions please feel free to contact us.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment