[TYPO3-german] Youtube Video per Medien-Element einbinden ...

thomas.buegel at web.de thomas.buegel at web.de
Wed May 23 15:59:16 CEST 2012


> Ergänzende Frage: Weiß jemand die Parameter dafür, wenn bei einem 
> eingebundenen Flash/Youtube Video die Control Bar an sich ausgeblendet sein 
> soll, bei Mouseover aber eingeblendet werden soll.
> Controls=0 blendet dauerthaft aus und controls=1 blendet dauerhaft ein, 
> aber wie ist es bei mouseover einblenden?

Es gibt eine Youtube-Seite, auf der die Parameter alle erklärt sind:
https://developers.google.com/youtube/player_parameters

und dann gibt es da den Parameter
autohide (supported players: AS3, AS2, HTML5)
Values: 2 (default), 1, and 0. This parameter indicates whether the video controls will automatically hide after a video begins playing. The default behavior (autohide=2) is for the video progress bar to fade out while the player controls (play button, volume control, etc.) remain visible.

If this parameter is set to 1, then the video progress bar and the player controls will slide out of view a couple of seconds after the video starts playing. They will only reappear if the user moves her mouse over the video player or presses a key on her keyboard.
If this parameter is set to 0, the video progress bar and the video player controls will be visible throughout the video and in fullscreen.

In diesem Fall muss es also heißen: autohide="1" (controls=0 oder 1 muss dann entfernt werden!)

Und das funktioniert perfekt!

Aber das bekomm ich nur mit einem HTML-Element realisiert, mit dem Medien-Element funktionert bei mir die Video-Einbindung nicht.
Hat da jemand einen Tipp, was zu beachten ist.

Zur Info. Das Medien- bezw. das HTML-Video-Element ist bei mir eingebunden innerhalb eines jfmulticontent 2-Spalten Elementes (Linke Spalte) 

Grüße

Tom



More information about the TYPO3-german mailing list