Skip to content

Commit 8dd0cb5

Browse files
Merge remote-tracking branch 'trigger/AC-1973' into AC-1544
2 parents 1024921 + 8df06c6 commit 8dd0cb5

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,6 @@ define([
130130
return this._player.playing();
131131
},
132132

133-
/**
134-
* Destroyer
135-
*/
136-
destroy: function () {
137-
this._player.destroy();
138-
},
139-
140133
/**
141134
* Calculates ratio for responsive videos
142135
* @private
@@ -300,9 +293,8 @@ define([
300293
* stops and unloads player
301294
* @private
302295
*/
303-
destroy: function () {
296+
_destroy: function () {
304297
this.stop();
305-
this._player.destroy();
306298
}
307299
});
308300

0 commit comments

Comments
 (0)