VideoTexture_v3 Op
Play a video file and use it as a texture
Summary (oneliner)
Full Name
- Ops.Gl.Textures.VideoTexture_v3
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch video processing
INPUT PORTS
Update (Trigger)
file (String)
File to play
play (Number:boolean )
Start playback
loop (Number:boolean )
Loop file when it reaches the end
Audio
Volume (Number)
Audio volume
mute (Number:boolean )
mute audio
Texture
Update FPS (Number)
Filter index (Number:integer ) nearest linear
Wrap index (Number:integer )
flip (Number:boolean )
Flip the texture
Timing
speed (Number)
Speed of playback
set time (Number)
Set time to trigger playback from
Rewind (Trigger)
Preload (Number:boolean )
Load into memory - useful when loading from a URL
Show Interaction needed Button (Number:boolean )
OUTPUT PORTS
Next (Trigger)
texture (Object)
Texture out
duration (Number)
Duration of loaded media
progress (Number)
Playback progress
Interaction Needed (boolean Number)
CurrentTime (Number)
Loading (boolean Number)
Playing (boolean Number)
Can Play Through (boolean Number)
Width (Number)
Width of texture
Height (Number)
height of texture
Aspect Ratio (Number)
Has Error (boolean Number)
Auto FPS (boolean Number)
Error Message (String)
Patches using VideoTexture_v3
Changelog
improvement | Ops.User.pandur.VideoTexture2 renamed to Ops.Gl.Textures.VideoTexture_v2 | pandur - 2020-09-14 15:04 |
improvement | cloned op from Ops.Gl.Textures.VideoTexture_v2 | pandur - 2022-11-28 14:10 |
improvement | added core lib: interactionneededbutton | pandur - 2022-11-28 15:39 |
feature | new output port: shows if user interaction is needed to start | pandur - 2022-12-14 17:13 |
feature | now needs to be triggered to update | pandur - 2022-12-14 17:13 |
feature | show user interaction button to start like audio output op | pandur - 2022-12-14 17:14 |
feature | Using automatic new frame callback if available for faster/smoother updates | pandur - 2024-05-07 22:26 |
improvement | catch and display errors with negative playback rate on some browsers | stephan - 2024-06-11 12:16 |