File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/ProductVideo/view/frontend/web/js Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ define([
142
142
} , this ) ) ;
143
143
$ ( this . element ) . on ( 'fotorama:fullscreenexit' , $ . proxy ( function ( ) {
144
144
this . inFullscreen = false ;
145
+ $ ( this . element ) . find ( '.' + this . PV ) . parent ( ) . find ( 'img:not(".fotorama__img--full")' ) . show ( ) ;
145
146
} , this ) ) ;
146
147
} ,
147
148
@@ -518,9 +519,9 @@ define([
518
519
$ ( '.fotorama__arr--next' ) . hide ( ) ;
519
520
$ ( '.fotorama__arr--prev' ) . hide ( ) ;
520
521
521
- $ ( this ) . find ( 'img' ) . hide ( ) ;
522
522
$ ( this ) . removeClass ( 'video-unplayed' ) ;
523
523
$ ( this ) . find ( '.' + PV ) . productVideoLoader ( ) ;
524
+ $ ( this ) . find ( 'img' ) . hide ( ) ;
524
525
525
526
if ( ! self . isFullscreen ) {
526
527
self . _showCloseVideo ( ) ;
@@ -606,8 +607,7 @@ define([
606
607
if ( iframeElement . length === 0 ) {
607
608
return ;
608
609
}
609
-
610
- if ( ! videoPreview . is ( ':visible' ) ) {
610
+ if ( ! videoPreview . is ( ':visible' ) && ! self . inFullscreen ) {
611
611
videoPreview . show ( ) ;
612
612
}
613
613
You can’t perform that action at this time.
0 commit comments