AirPlay

The AirPlay plugin allows you to play content on AirPlay devices. An AirPlay device selection button appears when AirPlay devices are available in the same wireless network.

Installation

To install this plugin, you can include the plugin script next to the core player:

Copy
Copied
<script src="//cdn.flowplayer.com/releases/native/3/stable/flowplayer.min.js"></script>
<script src="//cdn.flowplayer.com/releases/native/3/stable/plugins/airplay.min.js"></script>

Limitations

When using this plugin, consider the following limitations:

  • Browser support — AirPlay is available only in Apple Safari browsers.
  • Subtitles — Apple TV only supports captions or subtitles tagged in the HLS master .m3u8 manifest. Side-loaded Web Video Text Tracks (WebVTT) don't display on the AirPlay device.
  • Media Source Extensions (MSE) support — Safari doesn't support AirPlay when MSE (blob sources) are used. The Wowza Flowplayer HLS and MPEG-DASH plugins use MSE to play streams.
    • The AirPlay plugin configures the player with { hls: { native: true }} which disables HLS.js and thus enable AirPlay support. If you prefer to avoid this behavior, manually configure { hls: { native: false }} .
    • On MPEG-DASH sources, AirPlay doesn't display the button since it's not supported.