Airplay

Introduction

Implements a Airplay feature that allows to play content on Airplay devices. An Airplay device selection button appears when Airplay devices are available in the same WiFi network.

Installation

For the manual Javascript setup, nclude 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>

Player and plugins exist in different release versions. Please see the release channel documentation.

OVP managed player

For the async Javascript or the iframe player, add Airplay in the plugin section of the player configurator

Limitations

Browser support

Airplay is available in Apple Safari browsers only.

Subtitles

Apple TV only supports captions or subtitles tagged in the HLS master m3u8 manifest. Sideloaded webVTT tracks don't display on the AirPlay device.

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 that you need to manually configure { hls: { native: false }}. On DASH sources Airplay will not show the button as it's not supported.

Results