Git Product home page Git Product logo

demo's Introduction

插件下载

1

audio

audio为audio音频播放器源码

演示地址:HTML5audio音频插件

更新:

1.增加播放列表,增加歌词实时显示。

2.增加随机播放功能。

3.增加添加歌曲播放功能,可以通过参数设置是否立即播放添加的歌曲。

使用方法:

第一步,引入jQuery

<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>

第二步,引入PsAudio.css文件和PsAudio.js文件

<link rel="stylesheet" href="css/PsAudio.css"> 
<script type="text/javascript" src="Javascriptt/PsAudio.js"></script>

第三步页面添加div#audio容器

<div id="audio" ></div>

第四步使用psAudio()方法来初始化该播放插件

<script>
  psAudio({
  })
</script>
该函数可接收一个对象,可以传入一些属性, 对应传参规则详见目录下的index.html文件。




2

video

video为video视频播放器源码

演示地址:HTML5video视频插件

更新:

1.增加弹幕功能。

2.增加方向键控制进度条功能。

3.增加双击进入全屏功能,增加缓冲加载动画。




3

sound

sound为让人抓狂的音量控制方式源码




欢迎大家下载收藏,交流学习。

demo's People

Contributors

passerma 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.