# VideoFrame(ロブロックス クラス) > A GUI object that renders a rectangle, like a Frame does, with a moving video image. - URL:https://roblox.minecraft-okinawa.com/reference/classes/VideoFrame/ - 公式:https://create.roblox.com/docs/reference/engine/classes/VideoFrame - 受け継いでいるクラス:GuiObject ## プロパティ - `VideoFrame.IsLoaded: boolean`:Indicates when the VideoFrame.Video has loaded from Roblox servers and is ready to play. - `VideoFrame.Looped: boolean`:Sets whether or not the VideoFrame.Video repeats once it has finished when it is playing. - `VideoFrame.Playing: boolean`:Indicates whether the VideoFrame.Video is currently playing. It can be set to start or pause playback. - `VideoFrame.Resolution: Vector2`:Gets the original source resolution of the VideoFrame.Video file. - `VideoFrame.RollOffMaxDistance: float`:The maximum distance, in studs, a listener can be from the video's part and still hear its audio. - `VideoFrame.RollOffMinDistance: float`:The minimum distance, in studs, at which the video's audio starts to attenuate. - `VideoFrame.RollOffMode: RollOffMode`:Controls how the video's audio volume attenuates with distance. - `VideoFrame.TimeLength: double`:Indicates the length of the VideoFrame.Video in seconds. - `VideoFrame.TimePosition: double`:Indicates the progress in seconds of the VideoFrame.Video. - `VideoFrame.Video: ContentId`:The content ID of the video file a VideoFrame object is associated with. - `VideoFrame.VideoContent: Content`:The video content a VideoFrame is associated with, as either an asset content ID (same value as Class.VideoFrame.Video|Video) or a direct reference to a VideoCapture object for local screen recordings. - `VideoFrame.Volume: float`:Indicates how loud the VideoFrame.Video is currently playing back. ## メソッド - `VideoFrame:Pause(): ()`:Sets VideoFrame.Playing to false, pausing playback if the VideoFrame.Video is playing. - `VideoFrame:Play(): ()`:Sets VideoFrame.Playing to true, playing the VideoFrame.Video from the current VideoFrame.TimePosition. ## イベント - `VideoFrame.DidLoop(video: string)`:Fires whenever the VideoFrame.Video loops. - `VideoFrame.Ended(video: string)`:Fires when the VideoFrame.Video has completed playback and stopped. - `VideoFrame.Loaded(video: string)`:Fires when the VideoFrame.Video is loaded. - `VideoFrame.Paused(video: string)`:This event fires whenever the VideoFrame.Video is paused using Class.VideoFrame:Pause() or by setting VideoFrame.Playing to false. - `VideoFrame.Played(video: string)`:Fires whenever the VideoFrame.Video is played using the Class.VideoFrame:Play() function or by setting VideoFrame.Playing to true. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)