mobile hackery

This commit is contained in:
Ginger Wong
2020-06-15 15:45:55 -07:00
parent 08d20a1096
commit 4497cc86c2
6 changed files with 60 additions and 6 deletions

View File

@@ -27,7 +27,11 @@ function setupApp() {
// style hackings
window.VIDEOJS_NO_DYNAMIC_STYLE = true;
mobileVHhack();
if (hasTouchScreen()) {
mobileVHhack();
window.onorientationchange = handleOrientationChange;
// document.addEventListener("orientationchange", handleOrientationChange);
}
// init messaging interactions