s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
VideoPlayer
Seek
chevron_left Classes
class
VideoPlayer

Constructors

functionsVideoPlayer

Properties

data_objectAudiodata_objectChannelsdata_objectDurationdata_objectHasAudiodata_objectHeightdata_objectIsPauseddata_objectMuteddata_objectOnAudioReadydata_objectOnFinisheddata_objectOnLoadeddata_objectOnRepeateddata_objectOnTextureDatadata_objectPlaybackTimedata_objectRepeatdata_objectSampleRatedata_objectTexturedata_objectWidth

Methods

functionsDisposefunctionsPausefunctionsPlayfunctionsPresentfunctionsResumefunctionsSeekfunctionsStopfunctionsTogglePause
Seek
Sets the playback position to a specified time in the video, given in seconds.
method
void Seek (float time)

Parameters

NameTypeDescription
time float
Declared in Sandbox.VideoPlayer ยท Assembly Sandbox.Engine
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter