Skip to content

Conversation

@leo6104
Copy link

@leo6104 leo6104 commented Jun 1, 2023

Issue #65

Instance property

  • autoplay
  • currentTime
  • duration
  • error
  • loop
  • paused
  • ended
  • controls: boolean
  • controlsList
  • readyState
  • preservesPitch - should be separate to other issue&PR (too large)
  • playbackRate (speed control function) - should be separate to other issue&PR (too large)
  • defaultMuted: boolean - should be separate to other issue&PR (too large)
  • muted - should be separate to other issue&PR (too large)
  • buffered - no needs (current always load all ranges)
  • seekable. - no needs (current always load all ranges)

Instance Property (special for midi-player)

  • seeking
  • playing

Instance Methods

  • play() - rename start() to play()
  • stop()
  • pause()
  • canPlayType(type: unknown)
  • load() - should we rename reload -> load()?
  • fastSeek()

Events

  • canplay
  • play - rename start to play
  • playing
  • pause
  • timeupdate
  • error
  • ended
  • abort
  • loadstart
  • loadeddata
  • seeking
  • seeked
  • durationchange - can be more complicated if setTempo support in the future
  • suspend
  • volumechange - not available for now. (prior function - volume controls)

Special Events for midi-player

  • note

@cifkao cifkao marked this pull request as draft June 22, 2023 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant