diff --git a/package-lock.json b/package-lock.json
index 3f05474..067b9bb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1807,6 +1807,15 @@
}
}
},
+ "@vimeo/player": {
+ "version": "2.14.1",
+ "resolved": "https://registry.npmjs.org/@vimeo/player/-/player-2.14.1.tgz",
+ "integrity": "sha512-PXIATVxUfblTbRoSXzNcplJFjsho6e32ltfEm4po/RFZcAOYefOO4mjxDMGUTAzo937DZvjd5n1u7+EfGHuLPw==",
+ "requires": {
+ "native-promise-only": "0.8.1",
+ "weakmap-polyfill": "2.0.1"
+ }
+ },
"@webassemblyjs/ast": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz",
@@ -7873,6 +7882,11 @@
"to-regex": "^3.0.1"
}
},
+ "native-promise-only": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz",
+ "integrity": "sha1-IKMYwwy0X3H+et+/eyHJnBRy7xE="
+ },
"native-request": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/native-request/-/native-request-1.0.8.tgz",
@@ -12944,6 +12958,11 @@
"defaults": "^1.0.3"
}
},
+ "weakmap-polyfill": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/weakmap-polyfill/-/weakmap-polyfill-2.0.1.tgz",
+ "integrity": "sha512-Jy177Lvb1LCrPQDWJsXyyqf4eOhcdvQHFGoCqSv921kVF5i42MVbr4e2WEwetuTLBn1NX0IhPzTmMu0N3cURqQ=="
+ },
"webdriver-js-extender": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz",
diff --git a/package.json b/package.json
index 6fa0406..de9302e 100644
--- a/package.json
+++ b/package.json
@@ -19,9 +19,9 @@
"@angular/platform-browser": "~10.2.1",
"@angular/platform-browser-dynamic": "~10.2.1",
"@angular/router": "~10.2.1",
+ "@vimeo/player": "^2.14.1",
"rxjs": "~6.6.3",
"tslib": "^2.0.0",
- "vimeo": "^2.1.1",
"zone.js": "~0.10.2"
},
"devDependencies": {
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index d830872..e15b178 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -29,19 +29,19 @@ export class AppComponent {
title = 'beire-frontend';
ngOnInit() {
- var $ = document.getElementById.bind(document);
-
- var orientKey = 'orientation';
- if ('mozOrientation' in screen) {
- orientKey = 'mozOrientation';
- } else if ('msOrientation' in screen) {
- orientKey = 'msOrientation';
- }
-
- var promise = null;
- if (screen[orientKey].lock) { promise = screen[orientKey].lock('landscape-primary'); }
+ // var $ = document.getElementById.bind(document);
+ //
+ // var orientKey = 'orientation';
+ // if ('mozOrientation' in screen) {
+ // orientKey = 'mozOrientation';
+ // } else if ('msOrientation' in screen) {
+ // orientKey = 'msOrientation';
+ // }
+ //
+ // var promise = null;
+ // if (screen[orientKey].lock) { promise = screen[orientKey].lock('landscape-primary'); }
// lockedAllowed = window.screen.lockOrientation(orientation);
- document.documentElement.requestFullscreen();
+ // document.documentElement.requestFullscreen();
}
}
diff --git a/src/app/slide/slide.component.html b/src/app/slide/slide.component.html
index c394e7d..bdf01e1 100644
--- a/src/app/slide/slide.component.html
+++ b/src/app/slide/slide.component.html
@@ -26,3 +26,7 @@
{{currentTime}}