Skip to content

Commit 083683f

Browse files
committed
Remove fixed width and height on big play button
See #680 , #675
1 parent acdbb7c commit 083683f

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎scripts/control.js‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -638,14 +638,6 @@
638638
if (!this.hideBigPlayButton) {
639639
this.$bigPlayButton.show();
640640
this.$bigPlayButton.attr('aria-hidden', 'false');
641-
642-
}
643-
if (this.fullscreen) {
644-
this.$bigPlayButton.width($(window).width());
645-
this.$bigPlayButton.height($(window).height());
646-
} else {
647-
this.$bigPlayButton.width(this.$mediaContainer.width());
648-
this.$bigPlayButton.height(this.$mediaContainer.height());
649641
}
650642
} else {
651643
this.$bigPlayButton.hide();

0 commit comments

Comments
 (0)