Skip to content

Pause Video

Pause Video

Pauses a currently playing video by ID, or all videos at once.

Properties

System

Name Explanation Type
Apply to All Whether to pause all active videos instead of a specific one. Toggle
ID The ID of the video to use. Variable or Value

Examples

Pause a Specific Video

Pauses the video with the specified ID stored in a global variable.

pause_video($gv[0]);
{"Data":{"ID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"IsAll":false,"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.Video.PauseVideoCommand"}

Pause All Videos

Pauses all currently playing videos at once.

pause_video(all);
{"Data":{"ID":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"IsAll":true,"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.Video.PauseVideoCommand"}