MediaPlayer
Qt Base Class: QMediaPlayer
Signature: QMediaPlayer(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ObjectMixin prettyqt.core.object |
||
QMediaPlayer PySide6.QtMultimedia QMediaPlayer(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473573991952["multimedia.MediaPlayer"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473573976336["QtMultimedia.QMediaPlayer"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299815024 --> 1473573991952
140713234304496 --> 1473299815024
1473573976336 --> 1473573991952
1473288842240 --> 1473573976336
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ObjectMixin
, QMediaPlayer
Source code in prettyqt\multimedia\mediaplayer.py
get_error() -> ErrorStr
get_media_status() -> MediaStatusStr
get_playback_state() -> PlaybackStateStr
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
source |
QUrl | |
duration |
qlonglong | |
position |
qlonglong | |
bufferProgress |
float | |
hasAudio |
bool | |
hasVideo |
bool | |
seekable |
bool | |
playing |
bool | |
playbackRate |
double | |
loops |
int | |
playbackState |
QMediaPlayer::PlaybackState | |
mediaStatus |
QMediaPlayer::MediaStatus | |
metaData |
QMediaMetaData | |
error |
QMediaPlayer::Error | |
errorString |
QString | |
videoOutput |
QObject | |
audioOutput |
QAudioOutput | |
audioTracks |
QList |
|
videoTracks |
QList |
|
subtitleTracks |
QList |
|
activeAudioTrack |
int | |
activeVideoTrack |
int | |
activeSubtitleTrack |
int |