Opened 4 years ago

Closed 4 years ago

#12536 closed Bug Report - General (Invalid)

Mythbrowser youtube and video html5

Reported by: morriscavestro@… Owned by:
Priority: major Milestone: unknown
Component: Plugin - MythBrowser Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Today, after log time I have to decide to see a video in youtube from mythbrowser. I have see it is impossibile to see video in html5 because isn't supported from mythbrowser. It's important bug.

Change History (1)

comment:1 Changed 4 years ago by Jonatan Lindblad

Resolution: Invalid
Status: newclosed

MythBrowser? supports HTML5 but it requires one or several GStreamer libraries. On my Debian system the gstreamer1.0-plugins-good package is required. The full screen mode does not work but MythBrowser? most likely cannot be blamed for that since it is broken in the Python code below as well. If you want the full screen mode you should check out MythNetvision?. It still uses Flash but I will add support for HTML5 via #11092.

from PyQt5.QtCore import QUrl
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWebKitWidgets import QWebView

import sys

def main():
    app = QApplication(sys.argv)
    webview = QWebView()
    webview.load(QUrl("http://www.youtube.com"))
    webview.show()
    app.exec_()

if __name__ == "__main__":
    main()
Note: See TracTickets for help on using tickets.