diff --git a/plugins/plugin-md-power/src/client/components/ArtPlayer.vue b/plugins/plugin-md-power/src/client/components/ArtPlayer.vue index e672541a..8874a362 100644 --- a/plugins/plugin-md-power/src/client/components/ArtPlayer.vue +++ b/plugins/plugin-md-power/src/client/components/ArtPlayer.vue @@ -31,6 +31,9 @@ const { el, width, height, resize } = useSize(toRefs(props)) let player: ArtPlayer | null = null async function createPlayer() { + if (__VUEPRESS_SSR__) + return + if (!el.value) return