jfujita / videojs-http-source-selector

VideoJS plugin that leverages videojs-contrib-quality-levels plugin to offer manual user-select able level selection options for adaptive http streams.
MIT License
62 stars 49 forks source link

button with sources not available on iOS and Safari #21

Open MishkaPetran opened 5 years ago

MishkaPetran commented 5 years ago

On iPhnones the native player starts up, you can select the audio track and even subtitles (which are actually not in the playlist .m3u8) On Safari It is launched not in the native, but there are also no buttons with a choice of sources.

Is it possible to implement this feature for i-devices?

AwokeKnowing commented 3 years ago

Apple decided users should not have to select quality. in safari, everything is the native player so not up to videojs. should ask apple

Mariare2 commented 2 years ago

Apple decided users should not have to select quality. in safari, everything is the native player so not up to videojs. should ask apple

How come youtube have quality change option?

alekswebnet commented 6 months ago

Seems to be fixed by setting video.js options:

html5: {
  vhs: {
    overrideNative: videojs.browser.IS_ANY_SAFARI,
    enableLowInitialPlaylist: false,
    fastQualityChange: true,
    useDtsForTimestampOffset: true
  }
},

Found it here: https://github.com/OdyseeTeam/odysee-frontend/blob/d9c860036ffe99543f0875128a0b83b1cd170115/ui/component/viewers/videoViewer/internal/videojs.jsx#L248 Many thanks to the author!