Skip to content

v1.0.5

Choose a tag to compare

@Techassi Techassi released this 26 Feb 15:53

⚠️ The new version 1.0.5 (rewritten in Typescript) introduces the following breaking change:

The events @ended, @playing, @paused, @buffering and @cued will no longer be emitted. Instead you should now use @state-change to catch the events when the player state changes. This better represents the behaviour of the YouTube Iframe API described here.

New features

  • Support for typings across the board. In detail these are type declarations for the plugin itself as well as YouTube Iframe specific typings under the namespace YT.
  • API complete methods for pausing, stoping and queueing videos (See here)