Html Audio

From KOP KB
Revision as of 16:51, 26 August 2014 by SirBender (talk | contribs) (Created page with "'''Guide to adding audio to Neo''' Upload the audio file via ftp Log into builder and add the following code changing the text <nowiki>http://domain.com/audio.mp3</nowiki> t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Guide to adding audio to Neo

Upload the audio file via ftp

Log into builder and add the following code changing the text http://domain.com/audio.mp3 to the address of the audio file

Windows media Player

<object id="MediaPlayer1" width="690" height="500" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft® Windows® Media Player components..." type="application/x-oleobject"> <param name="FileName" value="<%= http://domain.com/audio.mp3() %>"></param> <param name="AutoStart" value="True"></param> <param name="DefaultFrame" value="mainFrame"></param> <param name="ShowStatusBar" value="0"></param> <param name="ShowPositionControls" value="0"></param> <param name="showcontrols" value="0"></param> <param name="ShowAudioControls" value="0"></param> <param name="ShowTracker" value="0"></param> <param name="EnablePositionControls" value="0"></param> <!-- BEGIN PLUG-IN HTML FOR FIREFOX--> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="<%= http://domain.com/audio.mp3() %>" align="middle" width="600" height="500" defaultframe="rightFrame" id="MediaPlayer2" /></object>

Quicktime

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="240" codebase="http://www.apple.com/qtactivex/qtplugin.cab"><param name="src" value=" http://domain.com/audio.mp3"></param><param name="autoplay" value="true"></param><param name="controller" value="false"></param><param name="loop" value="false"></param><embed src="http://domain.com/audio.mp3" width="320" height="240" autoplay="true" controller="false" loop="false" bgcolor="#000000" pluginspage="http://www.apple.com/quicktime/download/" /></object>