Socket
Socket
Sign inDemoInstall

cc-player-dxy

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cc-player-dxy

为丁香园定制的 CC 播放器的 API


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
38.8 kB
Created
Weekly downloads
 

Readme

Source

cc-player-dxy

为丁香园定制的 CC 播放器的 API

说明:

  1. 该项目完全基于 cc-player 这个项目,为了方便 CC 视频官方的统计功能,需要 设定 siteidplayerid。为了方便调用,该项目所做的事就是添加默认 的 siteid (FC8B2CFA72C44E05) 和 playerid (642FA1ABFCD4C9B0)。 这样,在使用的时候就不用每次都要设置 siteidplayerid 了。 另外,如果你又手动设置了 siteidplayerid 的话,该模块会优先使用你设置的值。

  2. 所有的 API 方法和 cc-player 的一致,如果想查看相关文档,请移步!

  3. 该模块只能通过 npm install cc-player-dxy --save 这种方法安装。 如果你想使用 <script> 标签的方式引入的话,请直接使用 cc-player 这个模块, 但是,要注意在调用的时候不要忘记了手动设置 siteidplayerid 哦:)

  4. index.js 中的代码其实相当简单,你看一下就明白我上面说的是什么了。🍻

CHANGELOG.md

v1.0.0 - 2016-03-07

  • 发布 v1.0.0

LICENSE

MIT

Keywords

FAQs

Last updated on 07 Mar 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc