Youtube Video -> Am Ende ähnliche Videos ausblenden
Hallo zusammen,
bei der Einbindung von Youtube-Videos über den Contao-Elementtyp "Youtube" werden am Ende nach dem abspielen eines Videos dem Zuseher ähnliche Videos eingeblendet. Ein Kunde von mir empfindet es als störend das nach dem abspielen von einem Video am Ende Videos der Konkurrenz auftauchen.
Ich habe gesehen das es im Netz Anleitungen dazu gibt. Dort wird empfohlen den Pfad vom Video mit dem Kürzel "?rel=0" zu erweitern. Leider wird das nach dem Speichern vom Elementtyp wieder gelöscht bzw. falsch gespeichert.
Vielen Dank!
Liste der Anhänge anzeigen (Anzahl: 1)
Je nachdem wie du es einbettest. Per HTML kann man das auch im "Teilen" Dialog von Youtube selbst einstellen. Siehe Anhang
Geänderte API Parameter ab 25.9.18
Wer sich wundert das am Ende doch wieder Videos angezeigt werden, Google hat seit dem 25.9.18 die Bedingungen für die rel und showinfo Parameter geändert:
Zitat:
The behavior for the rel parameter is changing on or after September 25, 2018. The effect of the change is that you will not be able to disable related videos. However, you will have the option of specifying that the related videos shown in the player should be from the same channel as the video that was just played.
To be more specific:
- Prior to the change, if the parameter's value is set to 0, then the player does not show related videos.
- After the change, if the rel parameter is set to 0, the player will show related videos that are from the same channel as the video that was just played.
The showinfo parameter, which indicates whether the player should display information like the video title and uploader before the video starts playing, is also being deprecated. Following the change, the channel avatar and video title will always display before playback begins, when playback is paused, and when playback ends. The avatar being displayed is new behavior that will be consistent across all embedded players.
These changes will become effective on or after September 25, 2018. After that time, the showinfo parameter will be ignored. The behavior following the changes is consistent with the current default behavior for embedded players with the exception of the channel avatar changes mentioned above.
Quelle: https://developers.google.com/youtub...tes_08_23_2018 (wahrscheinlich müsst ihr im Browser die Sprache auf Englisch wechseln. In der deutschen Version fehlt der Eintrag.)