Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. media player
Forum Updated to NodeBB v4.3 + New Features

media player

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 643 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1
    This post is deleted!
    raven-worxR 1 Reply Last reply
    0
    • ? A Former User

      This post is deleted!

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Bhushan99
      see mediaPlayer.position / mediaPlayer.duration properties
      use mediaPlayer.seek() method to jump to specific position

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        that properties i saw, but how automatically slider's handle will get increment as video will progress further.

        raven-worxR 1 Reply Last reply
        0
        • ? A Former User

          that properties i saw, but how automatically slider's handle will get increment as video will progress further.

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @Bhushan99

          MediaPlayer {
                  id: mediaPlayer
          }
          
          Slider {
               minimumValue: 0.0
               maximumValue: 100.0
               stepSize: 1.0
               value: mediaPlayer.duration > 0 ? Math.ceil(mediaPlayer.position/mediaPlayer.duration) : 0
          }
          

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved