mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #219] Is there a way to display video in Proton native app? #152
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bhaskardabhi-oviyum on GitHub (Aug 6, 2019).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/219
Hi,
I want to build an app which displays video feeds. Is there a way in proton to display video in app? Like
<Video>element or something?.@kusti8 commented on GitHub (Aug 28, 2019):
Not currently no. I'm going to keep this open because there should be a way in Qt in v2, but that's not that high of a priority.
@kusti8 commented on GitHub (Jan 19, 2020):
Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.
@roman01la commented on GitHub (Jan 21, 2020):
@kusti8 Hey. I'd like to dig in and try to implement video playback, I'd appreciate any initial input
@kusti8 commented on GitHub (Jan 21, 2020):
With Qt there is a guide here: https://doc.qt.io/qt-5/videooverview.html#playing-video-in-c You would use the QVideoWidget instead of the other widget. You can just copy one of the other classes, and then that class would contain QMediaPlayer and the QVideoWidget (and you would set the media just by calling set media:
player->setMedia(QUrl::fromLocalFile("/Users/me/Music/coolsong.mp3"));) Also please make a new issue to track this.@roman01la commented on GitHub (Jan 21, 2020):
@kusti8 Alright, sounds good. Thanks!