Skip to content

Commit ea31c5c

Browse files
author
Olga Nakonechna
committed
MAGETWO-45007: Video on Product doesn't play when user click on play button
1 parent 0a4cf04 commit ea31c5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/ProductVideo/view/frontend/web/js/load-player.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ define(['jquery', 'jquery/ui'], function ($) {
327327
.attr('width', this._width)
328328
.attr('height', this._height)
329329
.attr('src', src)
330+
.attr('webkitallowfullscreen', '')
331+
.attr('mozallowfullscreen', '')
332+
.attr('allowfullscreen', '')
330333
);
331334
this._player = window.$f(this.element.children(':first')[0]);
332335

0 commit comments

Comments
 (0)