Component "Video Player"

Usage

  • By using this component editors can add a video to a page
  • For users with a chinese GeoIP the WeChat video would be used
  • For all other users including users without a known GeoIP would be the YouTube video ID used

The assigned item of the component has the following fields:

  • YouTube Video ID: The ID of the video (e.g. https://www.youtube.com/watch?v=bvud9AtTMe0 has ID "bvud9AtTMe0")
  • WeChat Video ID: The ID of the WeChat video (e.g. https://v.qq.com/txp/iframe/player.html?vid=i324458rbh4 has ID "i324458rbh4")

And the following rendering params:

  • No rendering params

Further information:

  • The video IDs can be set in the experience editor via edit frame
  • The component does not have any rendering param yet
  • The size of preview image is fixed and set to 560 width and 315 height
  • For testing purposes to get the WeChat video even when outside of China the GeoIP can be overritten with the "CountryCode" url param set to "CN": Test WeChat Video

Issues:

  • The size of the preview image is fixed, but it make sense to maintain it to provide a better quality
  • The video component can atm only be inserted to the main column, but it makes sense to insert it also into the Two- or even Three-Column component

 

Samples:

Empfohlener externer Inhalt

An dieser Stelle finden Sie einen externen Inhalt von YouTube, der den Artikel ergänzt. Sie können ihn sich in einem Klick anzeigen lassen und wieder ausblenden.

Externen Inhalt anzeigen

Mehr dazu in unserer Datenschutzerklärung

Empfohlener externer Inhalt

An dieser Stelle finden Sie einen externen Inhalt von YouTube, der den Artikel ergänzt. Sie können ihn sich in einem Klick anzeigen lassen und wieder ausblenden.

Externen Inhalt anzeigen

Mehr dazu in unserer Datenschutzerklärung