1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Fix video rendering for macOS

This commit is contained in:
Dominik Louven 2018-11-27 18:53:30 +01:00
parent b0cd5bc984
commit ef6dc7bc17
2 changed files with 16 additions and 6 deletions

View File

@ -48,12 +48,19 @@ install_it.path = $${OUT_PWD}/../ScreenPlaySDK
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK
}
macx: {
html_data.files = index.html
html_data.path = Contents/MacOS
QMAKE_BUNDLE_DATA += html_data
}
!macx: {
install_it.files += index.html \
INSTALLS += install_it
DISTFILES += \
index.html
}
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

View File

@ -3,16 +3,19 @@
<head>
<style type="text/css">
video {
position: absolute;
width: 100%;
height: 100%;
object-fit: fill;
overflow: hidden;
height: 100%;
background:black;
background:black;
}
body, html{
margin: 0px;
padding: 0px;
overflow: hidden;
background:black;
overflow: hidden;
background:orange;
}
</style>
</head>