​pixolino PageObject: Video

​Demo content

Demo content is served as SVG wireframe image.

Available parameters:

  • title: [string] Title of the video: from this title the file name of the video files will be generated, so please chose wisely in respect to the website's SEO needs. Required.
  • width: [int] Width of demo image in pixel; required if not using url.
  • height: [int] Height of demo image in pixel; required if not using url.
  • url: [string] URL of the image to use as video preview. Can only be used in custom-flow. At export this property gets stripped and the images dimensions are used to set width and height

Example for demo content “Video”

Demo content for video

Configuration example

{{ fx_page.slot("SLOT_NAME", _context, {"content": [
   {"type": "video", "config": {"title": "My video", "width": 400, "height": 225}}
] }) }}

Using wireframe images in your templates

Shape types:

  • rectangle: 0
  • circe: 1
  • icon: 2
  • video: 3
  • youtube: 4
<img src="{{ url('wireframe_image_type', {'width': 100, 'height': 100, 'type': 0}) }}">
​For more details how to implement demo content please refer to the Demo Content Documentation.