Mediaplayer einbauen:
Der Mediaplayer-Code für Homepage :<object style="width:220px; height:35px;"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="audio/x-mpeg">
<param name="URL" value="Hier Datei-URL" />
<param name="autostart" value="0">
<param name="ShowControls" value="1">
<embed style="width:220px; height:35px;" type="audio/x-mepg"
src="Hier Datei-URL" autostart="0" ShowStatusBar="1"
pluginspage="http://microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer" >
</embed> </object>
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="audio/x-mpeg">
<param name="URL" value="Hier Datei-URL" />
<param name="autostart" value="0">
<param name="ShowControls" value="1">
<embed style="width:220px; height:35px;" type="audio/x-mepg"
src="Hier Datei-URL" autostart="0" ShowStatusBar="1"
pluginspage="http://microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer" >
</embed> </object>
Oben Beispiel-Code für .mp3 Datei / OHNE Atostart . Breite 220 Pixel. Höhe 35 Pixel im Code . Player Ohne Bildschirm |
Du siehst den Mediaplayer nicht ? Deinem Browser fehlt dann das Plugin "Quicktime" !
Erklärung zum Mediaplayer-Code :
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" Die Classid für Mediaplayer
type="audio/x-mpeg" = Der MIME-Typ für .mp3 Dateien
Welcher MIME-Type für welches Dateiformat ? : | |
---|---|
Dateiformat abspielen : | der MIME-type für den Player : |
.avi Video | type="video/x-msvideo" |
.pdf Adobe PDF-Dateien | type="application/pdf" |
.mpg / .mpeg Videos | type="video/mpeg" |
.wmv Video | type="video/x-ms-wmv" |
.qt / .mov Quicktime | type="video/quicktime" |
.wav Audio / Musik | type="audio/x-wav" |
.mp3 Audio / Musik | type="audio/x-mpeg" |
.swf Flash | type="application/x-shockwave-flash" |
Flashplayer-Code :
- benötigt die ClassID : classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" :
- benötigt im <embed : PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"
- MIME-type für Flash : type="application/x-shockwave-flash"
So sieht der Code dann aus für .swf Dateien :
<object style="width:468px; height:60px;"
classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
type="application/x-shockwave-flash">
<param name="URL" value="Hier Flash-URL" />
<embed style="width:468px; height:60px;" type="application/x-shockwave-flash"
src="Hier Flash-URL" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" >
</embed> </object>
classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
type="application/x-shockwave-flash">
<param name="URL" value="Hier Flash-URL" />
<embed style="width:468px; height:60px;" type="application/x-shockwave-flash"
src="Hier Flash-URL" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" >
</embed> </object>
Im Code die Breite und Höhe deiner .swf (Flash) Datei einfügen
: