mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 01:16:15 -08:00
style: layout improvements for videoJs player
This commit is contained in:
2 files changed
+3
-6
No files matched your search
@@ -3,5 +3,5 @@
|
||||
.video-js {
|
||||
position: relative !important;
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
height: calc(100vh - 85px);
|
||||
}
|
||||
@@ -20,8 +20,8 @@ import videoJs from 'video.js';
|
||||
export class VjsPlayerComponent implements OnInit, OnDestroy {
|
||||
/** DOM-element reference */
|
||||
@ViewChild('target', { static: true }) target: ElementRef;
|
||||
/** Options of VideoJs player (see: https://github.com/videojs/video.js/blob/mastertutorial-options.html) */
|
||||
@Input() options: videoJs.ComponentOptions;
|
||||
/** Options of VideoJs player */
|
||||
@Input() options: videoJs.PlayerOptions;
|
||||
/** VideoJs object */
|
||||
player: videoJs.Player;
|
||||
|
||||
@@ -33,9 +33,6 @@ export class VjsPlayerComponent implements OnInit, OnDestroy {
|
||||
this.target.nativeElement,
|
||||
{
|
||||
...this.options,
|
||||
/* responsive: true,
|
||||
limitRenditionByPlayerDimensions: false, */
|
||||
fluid: true,
|
||||
autoplay: true,
|
||||
},
|
||||
function onPlayerReady() {
|
||||
|
||||
Reference in new issue
Block a user