Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 83058fe

Browse files
committed
MAGETWO-57995: [GITHUB] Simple product videos display the thumbnail image rather than the embedded video player. #6360
1 parent b25ad8b commit 83058fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,7 @@ define([
564564
*/
565565
_checkForVideo: function (e, fotorama, number) {
566566
var videoData = this.options.videoData[number - 1],
567-
$image = fotorama.data[number - 1],
568-
videoEventIsSet = false;
567+
$image = fotorama.data[number - 1];
569568

570569
if ($image) {
571570
!$image.type && this._setItemType($image, number - 1);

0 commit comments

Comments
 (0)