Video starts jump

when starting the video it appears at seconds 1 and 2 and returns to start, like a jump. Is there a way to avoid that jump?

Download your project
There is an example of a player on my site, maybe it will help you
Π—Π°Π³Ρ€ΡƒΠ·ΠΈΡ‚Π΅ Π’Π°Ρˆ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚
На ΠΌΠ°Π΅ΠΌ сайтС Π΅ΡΡ‚ΡŒ ΠΏΡ€ΠΈΠΌΠ΅Ρ€ проигрыватСля, ΠΌΠΎΠΆΠ΅Ρ‚ Π’Π°ΠΌ это ΠΏΠΎΠΌΠΎΠΆΠ΅Ρ‚
https://pavlenkovv.ru/2022/04/14/Π»Π΅Π³ΠΊΠΈΠΉ-ΠΏΡ€ΠΈΠΌΠ΅Ρ€-ΠΌΠ΅Π΄ΠΈΠ°ΠΏΡ€ΠΎΠΈΠ³Ρ€Ρ‹Π²Π°Ρ‚Π΅Π»ΡŒ/

1 Like

Try the following steps:

  1. Select your video widget
  2. Open Code Editor
    image
  3. Click Add new code button
    image
  4. Paste the following code

Item {
    Timer {
        id: timer
        interval: 50
        running: true
        repeat: true
        triggeredOnStart: true
        onTriggered: {
            if (contentUi.objectName == "videoDelegate") {
                contentUi.children[2].children[0].visible = false
                timer.stop()
            }
        }
    }
}
  1. Click Run button
    image
1 Like

Back to Flipabit >
Copyright Β© 2018. Flipabit Team. All rights reserved.