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 WiFi network.
Installation
Include the plugin script next to the core player:
<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>
Caveats
Browser support
Airplay is available only in Apple Safari browsers.
Not supported with MSE (Blob sources)
-
Safari doesn't support Airplay when
MSE
is used. Both HLS and DASH plugins use MSE to play streams.
-
The airplay plugin will configure the player with
{ hls: { native: true }}
which will disable HLS.js and thus enable Airplay support. If you don't want this to happen, manually configure{ hls: { native: false }}
. - On DASH sources, Airplay will not display the button as it's not supported.
-
The airplay plugin will configure the player with