Videos in Webseiten einbetten

Google und YouTube-Videos einbetten:

<object type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf?8755581808731033658"; width="400" height="326" id="VideoPlayback">
  <param name="movie" value="http://video.google.com/googleplayer.swf?docId=8755581808731033658"; />
  <param name="FlashVars" value="playerMode=embedded" />
  <param name="allowScriptAcess" value="sameDomain" />
  <param name="scale" value="noScale" />
  <param name="quality" value="best" />
  <param name="bgcolor" value="#FFF" />
  <param name="salign" value="TL" />
</object>

Video als Flash-Datei einbetten:

In FLV-Format umwandeln, z.B. mit dem Freeware-Programm S.U.P.E.R
Downlaod: http://www.erightsoft.com/SUPER.html

Standardmethode mit Hilfe von object and embed

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"; width="400" height="300" id="movie" align="center">
   <embed src="movie.swf" quality="high" width="400" height="300" name="movie" align="center" type="application/x-shockwave-flash" plug inspage="http://www.macromedia.com/go/getflashplayer"; />
   <param name="movie" value="movie.swf" />
</object>

Alternative zum Einbinden kleiner Dateien (Flasheffekte)

<object type="application/x-shockwave-flash" data="movie.swf" width="400" height="300">
   <param name="movie" value="movie.swf" />
</object>

Als Quicktime einbinden:


Zuerst Video im Quicktime-Format abspeichern. Dann Einbetten:

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"; width="300" height="250">
  <param name="src" value="http://www.domain.com/filmchen.mov"; />
  <param name="controller" value="true" />
  <param name="autoplay" value="false" />
  <!--[if !IE]>-->
  <object type="video/quicktime" data="http://www.domain.com/filmchen.mov"; width="300" height="250">
    <param name="controller" value="true" />
    <param name="autoplay" value="false" />
  </object>
  <!--<![endif]-->
</object>

Als WMV-Datei einbetten (Windows Media Player Format)

WMV-Encoder von Microsoft (Freeware):
http://www.microsoft.com/windows/windowsmedia/de/9series/encoder/default.aspx

Standardmethode (Einbindung über object)

<object type="video/x-ms-wmv" data="http://www.domain.com/winmovie.wmv"; width="340" height="280">
  <param name="src" value="http://www.domain.com/winmovie.wmv"; />
  <param name="controller" value="true" />
  <param name="autostart" value="true" />
</object>

Alternative:

<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="340" height="280">
  <param name="url" value="http://www.domain.com/path/to/winmovie.wmv"; />
  <param name="src" value="http://www.domain.com/path/to/winmovie.wmv"; />
  <param name="showcontrols" value="true" />
  <param name="autostart" value="true" />
  <!--[if !IE]>-->
  <object type="video/x-ms-wmv" data="http://www.domain.com/path/to/winmovie.wmv"; width="340" height="280">
    <param name="src" value="http://www.domain.com/path/to/winmovie.wmv"; />
    <param name="controller" value="true" />
    <param name="autostart" value="true" />
  </object>
  <!--<![endif]-->


Weiterführende Literatur:
http://perishablepress.com/press/2007/01/29/embed-flash-and-video-via-the-object-tag/

Google-Suche

Google

Geldverdienst mit Webseite