Closed alex-barstow closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 86.40%. Comparing base (
f6a4f79
) to head (482c2c4
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Note: This depends on https://github.com/videojs/video.js/pull/8886. Before we merge this, we will need a new Video.js release and then have to bump the peer dependency version in this package.
This PR adds Airplay support when overriding native HLS in Safari and/or iOS by using two
source
elements, one for the MediaSource URL object and one for the Airplay-compatible manifest URL.From the Webkit guide on Airplay and MSE:
Specific Changes proposed
If we are playing HLS with MSE in Safari or iOS, set the source by adding two
<source>
elements-- one for the Media Source blob and one for the HLS manifest that will be used for Airplay. Preserve the existing behavior in all other cases.Requirements Checklist