Native Video Player API
Play video streams in the native iOS video player with Picture-in-Picture support — triggered straight from your web app.
The Native Video Player API allows your website to launch a video stream in the native iOS video player with Picture-in-Picture support. Trigger the native playback by opening a link with the startnativevideo://videostreamurl= prefix:
<a href="startnativevideo://videostreamurl=YOUR_VIDEO_STREAM_URL">Play Video in System Video Player with PiP Support</a>
The user can continue watching the video in a floating Picture-in-Picture window while navigating your web app or even other apps.
Typical Use Cases:
- Live streams that should keep playing while the user browses your web app.
- Video courses or tutorials with system-level playback controls.
- Any video that benefits from AirPlay, fullscreen, and Picture-in-Picture support of the native player.
Note: Use a direct video stream URL (e.g., an .mp4 file or an HLS .m3u8 stream) — not the URL of an HTML page embedding the video.