Giter Club home page Giter Club logo

Comments (16)

prikshitgupta avatar prikshitgupta commented on June 4, 2024

Same issue here video is starting from 10 mins not 0:00.

from ksplayer.

kingslay avatar kingslay commented on June 4, 2024

I have managed to implement ksplayer into a project of mine, but find whenever a video starts to play there is an overlay displayed at the bottom of the screen. It is a progress bar and there is some chinese(?) language text at the bottom right. It does disappear after a few seconds.

Is it possible to disable this overlay from appearing?

The toolbar is automatically hidden during playback. The default value is 5s. You can change the default value with KSPlayerManager.imateDelayTimeInterval
You can control the button hiding yourself

class CustomVideoPlayerView: IOSVideoPlayerView {
    override func updateUI(isLandscape: Bool) {
        super.updateUI(isLandscape: isLandscape)
        toolBar.playbackRateButton.isHidden = true
    }
}

from ksplayer.

kingslay avatar kingslay commented on June 4, 2024

Same issue here video is starting from 10 mins not 0:00.

Is it live or on-demand? Please provide the URL.

from ksplayer.

prikshitgupta avatar prikshitgupta commented on June 4, 2024

Same issue here video is starting from 10 mins not 0:00.

Is it live or on-demand? Please provide the URL.

how i can contact you privately? cant send you link publicly.

from ksplayer.

prikshitgupta avatar prikshitgupta commented on June 4, 2024

Same issue here video is starting from 10 mins not 0:00.

Is it live or on-demand? Please provide the URL.

yes its happening in live video and on demand both.

from ksplayer.

kingslay avatar kingslay commented on June 4, 2024

privately

yes. you can . What's your email address?

from ksplayer.

kingslay avatar kingslay commented on June 4, 2024

privately

yes. you can . What's your email address?

This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000
<frame media_type="audio" stream_index="1" key_frame="1" pkt_pts="54000000" pkt_pts_time="600.000000" pkt_dts="54000000" pkt_dts_time="600.000000" best_effort_timestamp="54000000" best_effort_timestamp_time="600.000000" pkt_duration="2089" pkt_duration_time="0.023211" pkt_pos="39668" pkt_size="13" sample_fmt="fltp" nb_samples="1024" channels="2" channel_layout="stereo"/>

from ksplayer.

prikshitgupta avatar prikshitgupta commented on June 4, 2024

privately

yes. you can . What's your email address?

This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000

So what is the fix?

from ksplayer.

prikshitgupta avatar prikshitgupta commented on June 4, 2024

Theres no such issue with other plyers

from ksplayer.

kingslay avatar kingslay commented on June 4, 2024

privately

yes. you can . What's your email address?

This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000

So what is the fix?

I have found a solution. There's a start_time field inside the video.
I'll fix this tomorrow.

from ksplayer.

prikshitgupta avatar prikshitgupta commented on June 4, 2024

privately

yes. you can . What's your email address?

This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000

So what is the fix?

I have found a solution. There's a start_time field inside the video.
I'll fix this tomorrow.

Great Thank you

from ksplayer.

UnknownCoder807 avatar UnknownCoder807 commented on June 4, 2024

I have managed to implement ksplayer into a project of mine, but find whenever a video starts to play there is an overlay displayed at the bottom of the screen. It is a progress bar and there is some chinese(?) language text at the bottom right. It does disappear after a few seconds.
Is it possible to disable this overlay from appearing?

The toolbar is automatically hidden during playback. The default value is 5s. You can change the default value with KSPlayerManager.imateDelayTimeInterval
You can control the button hiding yourself

class CustomVideoPlayerView: IOSVideoPlayerView {
    override func updateUI(isLandscape: Bool) {
        super.updateUI(isLandscape: isLandscape)
        toolBar.playbackRateButton.isHidden = true
    }
}

Thanks, this has helped a little. The overlay is still shown, but for much less time. Ideally, it would be perfect if it could be disabled totally.

from ksplayer.

kingslay avatar kingslay commented on June 4, 2024

privately

yes. you can . What's your email address?

This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000

So what is the fix?

I have found a solution. There's a start_time field inside the video.
I'll fix this tomorrow.

Great Thank you

it fixed

from ksplayer.

prikshitgupta avatar prikshitgupta commented on June 4, 2024

privately

yes. you can . What's your email address?

This is due to the timestamp of the first frame of the audio. the pkt_pts is 54000000

So what is the fix?

I have found a solution. There's a start_time field inside the video.
I'll fix this tomorrow.

Great Thank you

it fixed

issue is still there i have updated library. now i am getting ffmpeg warnings but issue is not fixed.

from ksplayer.

kingslay avatar kingslay commented on June 4, 2024

imateDelayTimeInterval

After updating the latest code. it could be disabled totally. According to the code below

class CustomVideoPlayerView: IOSVideoPlayerView {
    override func updateUI(isLandscape: Bool) {
        super.updateUI(isLandscape: isLandscape)
        bottomMaskView.isHidden = true
    }
}

from ksplayer.

UnknownCoder807 avatar UnknownCoder807 commented on June 4, 2024

Thank you, setting the bottomMaskView to hidden does the trick

from ksplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.