v8.78.1

Video editor methods

The video editor extension isn't included in the Pintura image editor product package, it's available as an upgrade on the pricing page

Please note that client-side video encoding is useful for encoding short videos, it's advised to use server side encoding for content longer than a couple minutes.

The video extension currently doesn't support applying frames styles and redacting content.

Live demo of Pintura with video editor extension

A list of methods available when the trim plugin is registered.

Method Description
play() Starts playing a video.
pause() Pauses a playing video.
togglePlayPause() Toggle between play and pause mode.
isPaused() Returns true if the video is paused.
mute() Mutes audio.
unmute() Restores audio.
toggleMute() Toggles mute state.
getDuration() Returns the video duration in seconds.
getCurrentTime() Returns the current position in seconds.
setCurrentTime(seconds) Sets the current position in seconds.

play

Starts playing a video.

pause

Pauses a playing video.

togglePlayPause

Toggle between play and pause mode.

isPaused

Returns true if the video is paused.

mute

Mutes audio.

unmute

Restores audio.

toggleMute

Toggles mute state.

getDuration

Returns the video duration in seconds.

getCurrentTime

Returns the current position in seconds.

setCurrentTime

Sets the current position in seconds.