VideoPlayer
This class is not browsable. It is not visible in Studio's object browser.
| Memory category | Instances |
|---|
Member index 23
Removed member index 6
| History | Member | |
|---|---|---|
| 668 | AutoLoad: bool | |
| 668 | IsReady: bool | |
| 668 | Thumbnail: ContentId | |
| 668 | Stop(): null | |
| 661 | Ended() | |
| 661 | Looped() |
Description
History 38
- 668 Add WiringChanged
- 668 Add PlayFailed
- 668 Add Unload
- 668 Remove Stop
- 668 Add Pause
- 668 Add LoadAsync
- 668 Add GetOutputPins
- 668 Add GetInputPins
- 668 Remove Thumbnail
- 668 Remove IsReady
- 668 Change Tags of IsPlaying from [] to [ReadOnly, NotReplicated]
- 668 Change WriteSecurity of IsPlaying from RobloxSecurity to None
- 668 Add IsLoaded
- 668 Add AutoPlayInStudio
- 668 Add AutoLoadInStudio
- 668 Remove AutoLoad
- 661 Remove Looped
- 661 Remove Ended
- 661 Add DidLoop
- 661 Add DidEnd
- 653 Add Looped
- 653 Add Ended
- 653 Add Stop
- 653 Add SetStudioPreview
- 653 Add Play
- 653 Add GetConnectedWires
- 653 Add Volume
- 653 Add TimePosition
- 653 Add TimeLength
- 653 Add Thumbnail
- 653 Add Resolution
- 653 Add PlaybackSpeed
- 653 Add Looping
- 653 Add IsReady
- 653 Add IsPlaying
- 653 Add AutoLoad
- 653 Add Asset
- 653 Add VideoPlayer
Members 23
Asset
| Type | Default | |
|---|---|---|
| ContentId | ||
| Thread safety | ReadSafe |
|---|---|
| Category | Asset |
| Loaded/Saved | true |
AutoLoadInStudio
| Type | Default | |
|---|---|---|
| bool | false | |
This property is not scriptable. It cannot be accessed by script code.
This property is not replicated. Its interface does not cross the network boundary.
| Write security | RobloxScriptSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | AutoPlayInEditMode |
| Loaded/Saved | false |
History 1
- 668 Add AutoLoadInStudio
AutoPlayInStudio
| Type | Default | |
|---|---|---|
| bool | false | |
This property is not scriptable. It cannot be accessed by script code.
This property is not replicated. Its interface does not cross the network boundary.
| Write security | RobloxScriptSecurity |
|---|---|
| Thread safety | ReadSafe |
| Category | AutoPlayInEditMode |
| Loaded/Saved | false |
History 1
- 668 Add AutoPlayInStudio
DidEnd
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Thread safety | Unsafe |
|---|
DidLoop
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Thread safety | Unsafe |
|---|
GetConnectedWires
| Parameters (1) | ||
|---|---|---|
| pin | string | |
| Returns (1) | ||
| Instances | ||
| Thread safety | Unsafe |
|---|
History 1
- 653 Add GetConnectedWires
GetInputPins
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
| Thread safety | Unsafe |
|---|
History 1
- 668 Add GetInputPins
GetOutputPins
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
| Thread safety | Unsafe |
|---|
History 1
- 668 Add GetOutputPins
IsLoaded
| Type | Default | |
|---|---|---|
| bool | false | |
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
| Thread safety | ReadSafe |
|---|---|
| Category | Asset |
| Loaded/Saved | false |
IsPlaying
| Type | Default | |
|---|---|---|
| bool | false | |
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
| Thread safety | ReadSafe |
|---|---|
| Category | Playback |
| Loaded/Saved | false |
LoadAsync
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| AssetFetchStatus | ||
This function yields. It will block the calling thread until completion.
| Thread safety | Unsafe |
|---|
Looping
| Type | Default | |
|---|---|---|
| bool | false | |
| Thread safety | ReadSafe |
|---|---|
| Category | Playback |
| Loaded/Saved | true |
Pause
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
Play
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
PlayFailed
| Parameters (1) | |
|---|---|
| error | AssetFetchStatus |
| Thread safety | Unsafe |
|---|
History 1
- 668 Add PlayFailed
PlaybackSpeed
| Type | Default | |
|---|---|---|
| float | 1 | |
| Thread safety | ReadSafe |
|---|---|
| Category | Playback |
| Loaded/Saved | true |
History 1
- 653 Add PlaybackSpeed
Resolution
| Type | Default | |
|---|---|---|
| Vector2 | 0, 0 | |
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
| Thread safety | ReadSafe |
|---|---|
| Category | Asset |
| Loaded/Saved | false |
History 1
- 653 Add Resolution
SetStudioPreview
| Parameters (1) | ||
|---|---|---|
| isPreview | bool | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 653 Add SetStudioPreview
TimeLength
| Type | Default | |
|---|---|---|
| double | 0 | |
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
| Thread safety | ReadSafe |
|---|---|
| Category | Asset |
| Loaded/Saved | false |
History 1
- 653 Add TimeLength
TimePosition
| Type | Default | |
|---|---|---|
| double | 0 | |
| Thread safety | ReadSafe |
|---|---|
| Category | Playback |
| Loaded/Saved | true |
History 1
- 653 Add TimePosition
Unload
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
Volume
| Type | Default | |
|---|---|---|
| float | 1 | |
| Thread safety | ReadSafe |
|---|---|
| Category | State |
| Loaded/Saved | true |
WiringChanged
| Parameters (4) | |
|---|---|
| connected | bool |
| pin | string |
| wire | Wire |
| instance | Instance |
| Thread safety | Unsafe |
|---|
History 1
- 668 Add WiringChanged
Removed members 6
AutoLoad
| Type | Default | |
|---|---|---|
| bool | false | |
| Thread safety | ReadSafe |
|---|---|
| Category | Asset |
| Loaded/Saved | true |
Ended
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Thread safety | Unsafe |
|---|
IsReady
| Type | Default | |
|---|---|---|
| bool | false | |
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
| Thread safety | ReadSafe |
|---|---|
| Category | Asset |
| Loaded/Saved | false |
Looped
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Thread safety | Unsafe |
|---|
Stop
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
Thumbnail
| Type | Default | |
|---|---|---|
| ContentId | ||
| Thread safety | ReadSafe |
|---|---|
| Category | Asset |
| Loaded/Saved | true |