Merge pull request #3102 from SnowWarri0r/meting

Meting播放器问题修复
This commit is contained in:
tangly1024
2025-01-01 15:38:41 +08:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -331,7 +331,7 @@ const BLOG = {
MUSIC_PLAYER_METING_ID:
process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_ID || '60198', // 对应歌单的 id
MUSIC_PLAYER_METING_LRC_TYPE:
process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_LRC_TYPE || '1', // 可选值: 3 | 1 | 00禁用 lrc 歌词1lrc 格式的字符串3lrc 文件 url
process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_LRC_TYPE || '1', // 已废弃!!!可选值: 3 | 1 | 00禁用 lrc 歌词1lrc 格式的字符串3lrc 文件 url
// ********挂件组件相关********
// ----> 评论互动 可同时开启多个支持 WALINE VALINE GISCUS CUSDIS UTTERRANCES GITALK

View File

@@ -71,10 +71,9 @@ const Player = () => {
fixed='true'
type='playlist'
preload='auto'
lrc-type={siteConfig('MUSIC_PLAYER_METING_LRC_TYPE')}
api={siteConfig(
'MUSIC_PLAYER_METING_API',
'https://api.i-meto.com/meting/api'
'https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r'
)}
autoplay={autoPlay}
order={siteConfig('MUSIC_PLAYER_ORDER')}