OpenTV ENTera & OpenTV Platform Documentation

Rails layout on the DISCOVER screen

By default, ION will use the LAYOUT flag to determine the orientation of the images on a rail. When Landscape is selected, images use a 16:9 aspect ratio; when Portrait is selected, a 2:3 aspect ratio is used. You can override these layouts by adding an additional ui_layout property.

To set an additional property:

  1. Select the template and then select Edit Rail Properties from the menu.

  2. Click ADD PROPERTY and enter the details below.

  3. Click the SAVE CHANGES button.

Picture1.png

UI_LAYOUT for all devices

The following values for UI Layout apply to all ION client devices. Two types of layout are available – a Magazine style and a Content Strip style.

Magazine style layout

Picture2.png


The following values are provided:

  • magazine_0 

    Click here to see an example layout

    Picture3.png

  • magazine_1

    Click here to see an example layout

    Picture4.png

  • magazine_2

    Click here to see an example layout

    Picture5.png

  • magazine_3

    Click here to see an example layout

    Picture6.png

Content Strip style layout

Picture7.png


The following values are provided:

  • content_strip_2x3

  • content_strip_2x3_4x3

  • content_strip_16x9

  • content_strip_4x3

Click here to see an example of the content strip layouts.

Picture8.png

UI_LAYOUT for mobile devices only

The snap_carousal value creates a large poster-style rail with a single asset in focus:

Picture9.png

Click here to see an example mobile layout

Picture10.jpg

Click here to see an example tablet layout

Picture11.png