Coder Social home page Coder Social logo

moefyit / vuepress-plugin-meting Goto Github PK

View Code? Open in Web Editor NEW
32.0 32.0 2.0 92 KB

:cake: A simple plugin connect APlayer, Meting and VuePress.

Home Page: https://moefyit.github.io/moefy-vuepress/

License: MIT License

JavaScript 21.70% Vue 78.30%
aplayer metingjs plugin vue-aplayer vuepress

vuepress-plugin-meting's People

Contributors

dependabot-preview[bot] avatar renovate[bot] avatar saszr avatar siguremo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

saszr fqcto

vuepress-plugin-meting's Issues

无法同时支持本地音乐与网易连接

复现步骤:

[
      'meting',
      {
        meting: {
          auto: "https://music.163.com/#/playlist?id=6590270162"
        },
        aplayer: {
          autoplay: true,
          audio: [
            {
              name: '강남역 4번 출구',
              artist: '生活好悲伤,雨中拉肖邦',
              url: 'https://assets.smallsunnyfox.com/music/2.mp3',
              cover: 'https://assets.smallsunnyfox.com/music/2.jpg'
            },
            {
              name: '用胳膊当枕头',
              artist: '生活好悲伤,雨中拉肖邦',
              url: 'https://assets.smallsunnyfox.com/music/3.mp3',
              cover: 'https://assets.smallsunnyfox.com/music/3.jpg'
            }
          ]
        }
      }
    ]

看了下代码是直接赋值给了audio,没有考虑到我可以通过aplayer赋值的情况,可以concat下

☑️ Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/prettify-code.yml
  • actions/checkout v4
  • creyD/prettier_action v4.3
npm
package.json
  • @moefe/vue-aplayer 2.0.0-beta.5

  • Check this box to trigger a request for Renovate to run again on this repository

Error in mounted hook: "ReferenceError: __MOBILE_OPTIONS is not defined"

version: 0.3.2
MetingGlobal.vue 第54行,__MOBILE_OPTIONS少了个下划线后缀

function hide_mini_player() {
  if (!__MOBILE_OPTIONS.cover) {
    body.childNodes.forEach((child) => {
      child.style.display = 'none'
    })
    body.style.background = 'transparent'
    btn.style.display = 'block'
    btn.style.right = 'auto'
  }
  if (!__MOBILE_OPTIONS__.lrc) {
    lrc.style.display = 'none'
  }
  isShow = false
}

自动播放没生效

    // 音乐插件
    ['meting', {
      //metingApi: "https://meting.sigure.xyz/api/music",
      meting: {
        // 网易
        auto: "http://music.163.com/#/song?id=29572578",
      },
      // 不配置该项的话不会出现全局播放器
      aplayer: {
        // 吸底模式
        fixed: true,
        mini: true,
        // 自动播放
        autoplay: true,
        // 歌曲栏折叠
        listFolded:true,
        // 颜色
        theme: '#f9bcdd',
        // 播放顺序为随机
        order: 'random',
        // 初始音量
        volume: 0.5,
        // 关闭歌词显示
        lrcType: 0
      },
      mobile :{
        // 手机端去掉cover图
        cover: false,
      }
    }]

elementui

el 怎么用这个插件啊,试了好多次还是不行

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.