AirenSoft / OvenPlayer

OvenPlayer is JavaScript-based LLHLS and WebRTC Player for OvenMediaEngine.
https://airensoft.com/ome.html
MIT License
508 stars 126 forks source link

Disable seekbar isn't working? #224

Closed fcqpl closed 8 months ago

fcqpl commented 2 years ago

Hi, I can't disable seekbar for Android Chrome client: image This happens after player initialize, when phone is buffering HLS content.

How to disable it? I'm providing only HLS live streams.

disableSeekUI: false,
showSeekControl: false
SangwonOh commented 2 years ago

@fcqpl Hi. disableSeekUI: true means the OvenPlayer shows the seekbar but the users can't interact with it.

What do you mean by disable search bar? Does it behave differently only on Android?

fcqpl commented 2 years ago

@SangwonOh Seekbar is showing for a while when player is loading HLS stream: https://user-images.githubusercontent.com/46460263/138102122-73f905d0-8b38-4d91-a9bb-bfc098b50d11.mp4 Maybe add an option in sources that says to player - "this HLS is only live and doesn't have DVR/VOD, don't show seek bar to user"?

sources: [
    {
        "type": "hls",
        "file": "https://example.com/playlist.m3u8",
        "label": "HLS",
        "live": true <-- "this HLS is only live and doesn't have DVR/VOD"
    }
],
SangwonOh commented 2 years ago

@fcqpl Hi. OvenPlayer detects the live stream and hides the SeekBar automatically. So setting "live": true doesn't seem necessary. It's probably a bug when switching streams on Android devices. Let us test it on an Android device. After testing, if possible, we will patch it.

SangwonOh commented 2 years ago

@fcqpl

Seekbar is showing for a while when player is loading HLS stream

Please check with the latest version of OvenPlayer. Make the UI change naturally when the source changes will work.

SangwonOh commented 8 months ago

We are closing the issue due to a long period of inactivity.