eluv-io / elv-stream-sample

MIT License
4 stars 2 forks source link

fix iOS video: don't use Hls() #58

Closed elv-todd closed 1 year ago

elv-todd commented 1 year ago

on iOS, use playerElement.src directly, don't assign a new Hls()

elv-todd commented 1 year ago

IMG_2346

showing examples/basic-video-example.html hq__FRHfVK9ppcowDmB6s48cZtHFbJ5Qgduq126eLXJBfPbrmkATowwzz9mjzMfns5B5WpHwBfFYfG from https://main.net955305.contentfabric.io/config working on iphone

elv-todd commented 1 year ago

Hmm, the logic probably should be if player != bitmovin { all the other logic }

ok will do that

elv-peter commented 1 year ago

I mean you probably don't want to use playerElement.src if the player is Bitmovin (&& !Hls.isSupported())