Skip to main content

Posts

Showing posts from June, 2012

Umbraco - Macro -XSLT - Flash Audio Player

Umbraco - Macro -XSLT - Flash Audio Player To create a Flash based Audio Player for Umbraco, that will allow users to choose their own audio file, is easily done in 3 steps: Step 1). Find a Flash Audio Player you like. I used this one: http://flash-mp3-player.net/players/mini/generator/  , it is clean and simple and is used in the code below.  There are a lot of others that are easily    integrated with the code below: http://savedelete.com/top-25-best-free-online-music-players-for-your-websites-or-blogs.html Step 2). Upload the Audio Player to your site Upload the Audio Player to your folder structure. In the XSLT below the file is being referenced in a folder called "audioplayer". Step 3) Create a XSLT file with a relate Macro. A: Paste in this code: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:Stylesheet [ <!ENTITY nbsp "&#x00A0;"> ]> <xsl:stylesheet     version="1.0"     xml