Move to Jellyfin-vue
This commit is contained in:
20 files changed
+198
-120319
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import QtWebEngine
|
||||
// import QtWebEngine.WebEngineSettings
|
||||
import QtWebChannel
|
||||
import QtQuick.Window
|
||||
import QtQuick.Controls
|
||||
|
||||
Window{
|
||||
id: mainWindow
|
||||
title: "Jellyfin Player"
|
||||
objectName: "mainWindow"
|
||||
minimumHeight: 720
|
||||
minimumWidth: 1280
|
||||
visible: true
|
||||
|
||||
WebEngineView{
|
||||
id:webView
|
||||
url:"http://127.0.0.1:5000";
|
||||
width: mainWindow.width;
|
||||
height: mainWindow.height;
|
||||
anchors.fill: parent;
|
||||
settings.localStorageEnabled: true;
|
||||
settings.localContentCanAccessRemoteUrls: true;
|
||||
settings.localContentCanAccessFileUrls: true;
|
||||
settings.javascriptEnabled: true;
|
||||
}
|
||||
property QtObject webChannel: webView.webChannel
|
||||
}
|
||||
Reference in new issue
Block a user