Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVPlayer.SetTime
Sets the current time.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVPlayer | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "AVPlayer.SetTime"; AVPlayer; Time ) More
Parameters
Parameter | Description | Example |
---|---|---|
AVPlayer | The reference number of the player. | $Player |
Time | The new playback time in seconds. | 10.0 |
Result
Returns OK or error.
Description
Sets the current time.Examples
Jump to 10 seconds:
Set Variable [ $r; MBS( "AVPlayer.SetTime"; $AVPlayer; 10 ) ]
See also
- AVPlayer.GetRate
- AVPlayer.GetTag
- AVPlayer.GetTime
- AVPlayer.SetMuted
- AVPlayer.SetRate
- AVPlayer.SetTag
- AVPlayer.SetVolume
Release notes
- Version 10.3
- Fixed AVPlayer.SetTime function to pass correct time.
Blog Entries
This function checks for a license.
Created 3th February 2017, last changed 6th June 2020