Difference between revisions of "Html Audio"

From KOP KB
Jump to: navigation, search
(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...")
 
Line 1: Line 1:
'''Guide to adding audio to Neo'''
+
'''Guide to adding audio'''
  
 
Upload the audio file via ftp
 
Upload the audio file via ftp
Line 6: Line 6:
  
 
Windows media Player
 
Windows media Player
 
+
<syntaxhighlight lang="html4strict">
<nowiki><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&reg; Windows&reg; Media Player components..." type="application/x-oleobject"> <param name="FileName" value="&lt;%= http://domain.com/audio.mp3() %&gt;"></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>  
+
<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&reg; Windows&reg; Media Player components..." type="application/x-oleobject"> <param name="FileName" value="&lt;%= http://domain.com/audio.mp3() %&gt;"></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="&lt;%= http://domain.com/audio.mp3() %&gt;" align="middle" width="600" height="500" defaultframe="rightFrame" id="MediaPlayer2" /></object></nowiki>
+
  <!-- BEGIN PLUG-IN HTML FOR FIREFOX--> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="&lt;%= http://domain.com/audio.mp3() %&gt;" align="middle" width="600" height="500" defaultframe="rightFrame" id="MediaPlayer2" /></object>
 +
</syntaxhighlight>
  
 
Quicktime  
 
Quicktime  
  
<nowiki><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>
+
<syntaxhighlight lang="html4strict">
</nowiki>
+
<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>
 +
</syntaxhighlight>

Revision as of 18:38, 4 September 2014

Guide to adding audio

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&reg; Windows&reg; Media Player components..." type="application/x-oleobject"> <param name="FileName" value="&lt;%= http://domain.com/audio.mp3() %&gt;"></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="&lt;%= http://domain.com/audio.mp3() %&gt;" 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>