How Content Transitions Work

In order to provide seamless transitions, the Player performs preloading of the content that follows. Every time a content item is shown on screen, the next item in the Playlist is loaded, so that the transition is as fast as possible.

Think of a Playlist with the following contents:

  1. Video1
  2. Widget1
  3. Widget2
  4. Image1
  5. Widget3

Let’s say that Widget1 is on screen. For each transition between two content items (e.g. Widget1 and Widget2, in this case), the Player performs the following steps:

  1. Widget2 is shown on-screen.
  2. Widget1 is hidden off-screen.
  3. Widget2 is started.
  4. Widget1 is stopped.
  5. Widget1 is destroyed (resources released).
  6. Image1 is preloaded off-screen.

For the next transition, the same sequence will occur.

  1. Image1 is shown on-screen.
  2. Widget2 is hidden off-screen.
  3. Image1 is started.
  4. Widget2 is stopped.
  5. Widget2 is destroyed (resources released).
  6. Widget3 is preloaded off-screen.

Content transitions work (almost) the same for all content types, so you should follow these guidelines whenever you create custom Content Viewers or Custom Widgets.