Skip to content

Commit 8df06c6

Browse files
AC-1973: Video: Failed asserting that an array is empty.
- change destroy to _destroy
1 parent ba37bc0 commit 8df06c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,8 @@ define([
293293
* stops and unloads player
294294
* @private
295295
*/
296-
destroy: function () {
296+
_destroy: function () {
297297
this.stop();
298-
this._player.destroy();
299298
}
300299
});
301300

0 commit comments

Comments
 (0)