Skip to content

vwc-media-controller 2.46.1

Install from the command line:
Learn more about npm packages
$ npm install @vonage/vwc-media-controller@2.46.1
Install via package.json:
"@vonage/vwc-media-controller": "2.46.1"

About this version

Web Component Analyzer analyzing 1 file...

vwc-media-controller

Displays controllers for media playback. Includes play/pause button and a scrub bar

Methods

Method Type Description
setPlayState (isPlaying: boolean): void Sets the component's play state

isPlaying: A boolean stating whether the component is playing or not (displayed pause/play buttons respectively).
setPosition (position: number): void Sets the scrubber's position

position: The relative position of the scrubber (a value between 0-1).

Events

Event Type Description
userPlayPauseRequest number Fires when the user clicks the play/pause button, the "detail" event field will contain a number between zero and one describing the user's relative selected position.
userScrubRequest Fires while the user modifies the scrubber's knob location.

Details


Assets

  • vwc-media-controller-2.46.1.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0