good nuff hacks for nowz

This commit is contained in:
Ginger Wong
2020-06-15 17:40:12 -07:00
parent 44058c24aa
commit 7aaf1e6102
4 changed files with 44 additions and 21 deletions

View File

@@ -27,10 +27,7 @@ function setupApp() {
// style hackings
window.VIDEOJS_NO_DYNAMIC_STYLE = true;
if (hasTouchScreen()) {
setVHvar();
window.onorientationchange = handleOrientationChange;
}
setVHvar();
// init messaging interactions
@@ -102,7 +99,7 @@ function setupWebsocket() {
ws.close()
}
window.ws = ws
window.ws = ws;
}
setupApp()