diff --git a/src/components/photoPlayer/plugin.js b/src/components/photoPlayer/plugin.js index bdb0214da3..f658e4c702 100644 --- a/src/components/photoPlayer/plugin.js +++ b/src/components/photoPlayer/plugin.js @@ -12,7 +12,7 @@ export class PhotoPlayer { return new Promise(function (resolve, reject) { - import('slideshow').then(slideshow => { + import('slideshow').then(({default: slideshow}) => { var index = options.startIndex || 0;