Skip to content

Commit 0c51edd

Browse files
committed
Merge branch 'ME-MAGETWO-QA' into 'master4'
Fix vimeo playIfBase to open fullscreen at start See merge request !168
2 parents f970d93 + 85cdb7b commit 0c51edd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/ProductVideo/view/frontend/web/js/fotorama-add-video-events.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,13 @@ define([
549549
waitForFroogaloop = setInterval($.proxy(function () {
550550
if (window.Froogaloop) {
551551
clearInterval(waitForFroogaloop);
552+
fotorama.requestFullScreen();
552553
$(this.element).data('fotorama').activeFrame.$stageFrame[0].click();
554+
$('.fotorama__fullscreen-icon').css({
555+
opacity: '1',
556+
visibility: 'visible',
557+
display: 'block'
558+
});
553559
this.Base = false;
554560
}
555561
}, this), 50);

0 commit comments

Comments
 (0)