GithubHelp home page GithubHelp logo

riverfish1 / h5player Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 71 KB

H5-video打造属于自己的视频播放器

Home Page: http://101.201.238.74:10000/meishubao/webview.html

JavaScript 75.35% CSS 20.04% HTML 4.61%

h5player's Introduction

h5player

使用H5-video打造属于自己的视频播放器 ###一、h5播放器依赖以下文件:

  • jquery.min.js
  • public.js
  • H_EV_XK_DEV.js
  • player.normal.rem.css
  • touch.js(扩展功能)
  • jquery.danmu.js(扩展功能)
  • images(保存播放器所需图片)

###二、使用说明:

  • html文件头部引入播放器依赖文件;
  • 通过new HONGSHIYUN().embed()方法调用(详情见example.html)并传入视频地址(支持ajax请求获取视频地址);

###三、主要功能:

  • 基本功能:播放、暂停、快进、快退、全屏、退出全屏、陀螺仪;
  • 扩展功能:弹幕、滑动seek、手动seek、数据上报、倍数播放;
  • 手机支持:兼容市场绝大多数手机;

###四、其他说明:

  • m3u8格式的文件pc端无法直接播放,只有移动端才能播放;

h5player's People

Contributors

riverfish1 avatar

Stargazers

 avatar

Watchers

 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.