mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(site): remove default attr from storyboard track elements (#1211)
This commit is contained in:
@@ -16,6 +16,7 @@ export const textTrackFeature = definePlayerFeature({
|
||||
target().media,
|
||||
(track) => track.kind === 'subtitles' || track.kind === 'captions'
|
||||
);
|
||||
|
||||
if (!subtitlesTracks.length) return false;
|
||||
|
||||
const showing = subtitlesTracks.some((track: TextTrack) => track.mode === 'showing');
|
||||
|
||||
Reference in New Issue
Block a user