Code Monkey home page Code Monkey logo

kaikeba-crx's Introduction

kaikeba-crx

开课吧-视频片段插件,仅供学习交流

chrome插件

  • 功能

从仓库获取视频片段信息,并展示。点击可以调转播放

从仓库获取视频片段信息,并展示

点击上图+号,增加片段

增加片段

增加片段会存放在localStorage内,可以进行删除

删除片段

点击2图分享图标,可以自动拷贝片段信息。

分享片段

  • 开发
yarn
npm run dev

然后打开chrome浏览器拓展管理 chrome://extensions/

点击左上角【加载已解压的拓展程序】,再选择该项目根目录

  • 测试

打开 开课吧课程播放页面,https://learn.kaikeba.com/video/xxxxxx

片段数据维护

course目录存放片段数据,可根据课程、章节、小结自行创建目录

片段文件的数据格式为

{
	"id": "视频id,即 https://learn.kaikeba.com/video/ 后的数值" ,
	"fragments": [
		{
			"title": "片段名称",
			"timestamp": 100
		}
	]
}

欢迎大家提交pr,共同维护插件和课程片段信息

TODO LIST

  • 直播时,获取直播时间,维护片段信息
  • 视频进度条显示片段
  • github ci, 自动合并片段信息

kaikeba-crx's People

Contributors

dohard-ma avatar

Watchers

James Cloos avatar  avatar

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.