Skip to content

playFullscreenVideo(...)

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

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
ParameterTypeDescription
urlstringThe URL of the video to play.