npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cc-player-dxy

v1.0.0

Published

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

Downloads

2

Readme

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