Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Video
    • Overview
    • Control
    • Troubleshooting
      • Overview
      • IFrame
      • iOS
        • Getting started
        • Player initialization parameters
        • Player methods
        • Player state
        • Player events
          • Modules
            • PlayerSdkApi
            • PlayerSdkEventHandlers
            • PlayerSdkInitConfig
            • PlayerSdkSourceParams
            • PlayerSdkState
  • Access management
  • Pricing policy
  • Audit Trails events
  • Release notes

In this article:

  • Properties
  • currentTime
  • duration
  • error
  • muted
  • source
  • status
  • utcStartTime
  • videoType
  • volume
  1. Video Player
  2. SDK
  3. JavaScript
  4. API reference
  5. Interfaces
  6. PlayerSdkState

Interface: PlayerSdkState

Written by
Yandex Cloud
Updated at October 9, 2024
  • Properties
    • currentTime
    • duration
    • error
    • muted
    • source
    • status
    • utcStartTime
    • videoType
    • volume

PlayerSdk state.

PropertiesProperties

  • currentTime
  • duration
  • error
  • muted
  • source
  • status
  • utcStartTime
  • videoType
  • volume

currentTimecurrentTime

• currentTime: null | Seconds

Current time on the video timeline.

durationduration

• duration: null | Seconds

Video duration.

errorerror

• error: null | PublicIFrameApiErrorInterface

Current error.

mutedmuted

• muted: boolean

Video muted status.

sourcesource

• source: null | string

Video source.

statusstatus

• status: PlayerSdkStatus

Playback status.

utcStartTimeutcStartTime

• utcStartTime: null | number

Video start time in UTC.

videoTypevideoType

• videoType: null | VideoType

Video type.

volumevolume

• volume: number

Sound volume level of a video.

Was the article helpful?

Previous
PlayerSdkSourceParams
Next
Access management
© 2025 Direct Cursus Technology L.L.C.