Skip to main content

Video

Video Playback Requirements

By default, videos should auto-play with the sound muted when they are in view. Videos in-view on initial load should play immediately. For ad formats like the Desktop Scroller, Mobile Scroller and expanded states of the In-Screen Expandable Desktop and In-Screen Side Display, videos should play and pause as they move in and out of view. Please check out Premium.video.pauseWhenOutOfView() to help with this functionality.

The user should be able to click to un-mute and mute the sound as well as play and pause the playback. Please use our jp-controls library to implement this.

The jpxApi.createVideo API should be used for all videos.

Video Playback Recommendations

Videos should have a poster frame and play through once, stopping on a branded image.

For the In-Screen Expandable Desktop and In-Screen Side Display, it is recommended to have the video in-view in both collapsed and expanded states, with the video 'popping out' over one edge in the collapsed state.

In the Desktop Skin, it is recommended that the video plays in the top panel, then as the top panel is scrolled away, the video appears in one or both of the side panels. All placements should have the option to expand into an overlay.

Please check out Premium.video.sync(), Premium.video.switchOnScroll() and Premium.expand to help with these implementations.