videojs-airplay

Adds an airplay button to a control bar if the browser supports airplay

Usage no npm install needed!

<script type="module">
  import videojsAirplay from 'https://cdn.skypack.dev/videojs-airplay';
</script>

README

videojs-airplay

Videojs Plugin that adds an airplay button to the control bar if the browser supports the WebKitPlaybackTargetAvailabilityEvent (currently Safari 9.0)

NOTES

Built for video.js 5.0 and above.

Usage

Include:

  • videojs-airplayButton.css
  • videojs-airplayButton.js
  videojs('example-video', plugins: { airplayButton: {} });

License

Licesned Apache 2. See LICENSE file.