Add Component
> Massive Loop
> Video
> ML Video Extension
MLVideoExtension Component
This component extends the functionality of the native Unity Video Player and extra functionality. You can use this component to synchronize the position and state of the video across all players in a room.
This component carries most of the settings of the default video player and automatically changes the similar settings on video player. When using this component, modify the parameters on this component Only.
Requires
- Unity VideoPlayer component (Automatically added)
- MLSynchronizer (Automatically added when
TryToSynchronizeVideoPosition
selected)
Parameters
Name | Description |
---|---|
Video Player | Accompanying VideoPlayer component. This is usually added automatically. Do not modify. |
Audio Source | Audio output for this Video. If Not selected (null) the video Audio output set to "Direct". |
Render Target | Where to render the video? Use the drop-down to define how the video is rendered. |
- Target Renderer | Render video on this Mesh Renderer. |
- Target Texture | Render video on this Render Texture. |
Video Source Type | The type of the video source. Use drop-down to select the source type. |
- URL | The video source if URL type is selected. |
- Video Quality | Quality of the video if the URL video provider supports such selection. |
- Video Clip | Video Clip if the selected video source type is video clip. |
Try Synchronize Video Position | Tries to synchronize video position as well as video state, such as playing, paused or stopped. Adds MLSynchronizer and attempts to synchronize the position of the video. Be aware that the there might be a +/-3 seconds difference |
Play On Awake | Play the video on start of the frame. |
Loop | Replay the video immediately after it finished. |
Start From Second | Start playing the video in specified time. |
- Start Time | The time in second to start playing the video. If Start From Second selected. |
Event Actions ?
Action | Description | Input |
---|---|---|
Play() | Play video | none |
Stop() | Stop video | none |
Pause() | Pause video | none |
SetURL(string) | Set an online vide URL to be played. | Online Video URL |
JumpToTime(double) | Jump current video time | Time to jump |