vidstack / player

UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
https://vidstack.io
MIT License
1.9k stars 114 forks source link

iOS - [vidstack]: captions text track created without label: 'undefined' #1216

Closed sukijun closed 3 months ago

sukijun commented 3 months ago

Current Behavior:

After initialization in iOS, error: [vidstack]: captions text track created without label: 'undefined'

Environment:

I think it's related to "provider-change" event and native HLS on IOS

https://github.com/vidstack/player/assets/92907658/0d4f0a26-899c-4a37-a06d-de71df633d72

nossila commented 3 months ago

I'm having the same issue, using @vidstack/react version 1.10.9

mihar-22 commented 3 months ago

This is dev only error. Your text tracks need labels so they show correctly in the menus. I've relaxed this to a console warning from an error.