Skip to content

Commit

Permalink
Merge pull request #3102 from SnowWarri0r/meting
Browse files Browse the repository at this point in the history
Meting播放器问题修复
  • Loading branch information
tangly1024 authored Jan 1, 2025
2 parents 2e54ebc + 2a00ecc commit 13131da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blog.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 | 0(0:禁用 lrc 歌词,1:lrc 格式的字符串,3:lrc 文件 url)
process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_LRC_TYPE || '1', // 已废弃!!!可选值: 3 | 1 | 0(0:禁用 lrc 歌词,1:lrc 格式的字符串,3:lrc 文件 url)

// ********挂件组件相关********
// ----> 评论互动 可同时开启多个支持 WALINE VALINE GISCUS CUSDIS UTTERRANCES GITALK
Expand Down
3 changes: 1 addition & 2 deletions components/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')}
Expand Down

0 comments on commit 13131da

Please sign in to comment.