playFullscreenVideo(...)

playFullscreenVideo(url : string) : void;

Plays the video at the supplied URL fullscreen using the device's OS-supplied video playback functionality.

While this function returns immediately, it may take a short amount of time for the video playback to begin.

The following video specification works well across a large range of devices:

  • H.264 MP4 Baseline profile
  • Optimized for streaming
  • Keep resolution low (recommended maximum of 640 x 480)
  • Max bitrate of 350 kbps

Parameters

Parameter Type Description
url string The URL of the video to play.
zapcode branded_zapcode i