- 
    
Bug
 - 
    Resolution: Done
 - 
    
P1: Critical
 - 
    6.2.2
 - 
    None
 - 
    Fedora 35
 
- 
        
 - 
        cb90823b7c (qt/qtmultimedia/dev) cc0b797042 (qt/qtmultimedia/6.3) 83df31233f (qt/qtmultimedia/6.2) 83df31233f (qt/tqtc-qtmultimedia/6.2)
 
Attempting to use seek on a QML Video fails with the following error:
qrc:/qt-project.org/imports/QtMultimedia/Video.qml:389: TypeError: Property 'seek' of object QMediaPlayer(0x562903b7b100) is not a function
Here is the documentation of the seek function I want to use:
https://doc.qt.io/qt-6/qml-qtmultimedia-video.html#seek-method
It looks like MediaPlayer's seek function has been removed in Qt 6 and the position property could be used instead:
https://doc.qt.io/qt-5/qml-qtmultimedia-mediaplayer.html#seek-method
https://doc.qt.io/qt-6/qml-qtmultimedia-mediaplayer.html#position-prop
| For Gerrit Dashboard: QTBUG-100106 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 391782,2 | Fix Video.seek() method | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 | 
| 392156,2 | Fix Video.seek() method | 6.3 | qt/qtmultimedia | Status: MERGED | +2 | 0 | 
| 392157,2 | Fix Video.seek() method | 6.2 | qt/qtmultimedia | Status: MERGED | +2 | 0 |