test
This commit is contained in:
parent
939035a5c7
commit
1b58342375
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class VideoPlayer(QMainWindow):
|
||||||
self.slider.sliderMoved.connect(self.set_position)
|
self.slider.sliderMoved.connect(self.set_position)
|
||||||
|
|
||||||
self.media_player.setVideoOutput(self.video_widget)
|
self.media_player.setVideoOutput(self.video_widget)
|
||||||
self.media_player.setSource(QUrl("https://video.asgardius.company/static/streaming-playlists/hls/41bf7df4-8f6c-45e9-96ef-a8dd57c865c8/4cd1430a-0124-473f-98ce-2f65a9bafad9-480.m3u8"))
|
self.media_player.setSource(QUrl("https://video.asgardius.company/download/videos/41bf7df4-8f6c-45e9-96ef-a8dd57c865c8-480.mp4"))
|
||||||
self.media_player.positionChanged.connect(self.position_changed)
|
self.media_player.positionChanged.connect(self.position_changed)
|
||||||
self.media_player.durationChanged.connect(self.duration_changed)
|
self.media_player.durationChanged.connect(self.duration_changed)
|
||||||
self.audio_output = QAudioOutput()
|
self.audio_output = QAudioOutput()
|
||||||
|
|
Loading…
Reference in a new issue