Git Product home page Git Product logo

html5video's Introduction

Html5Video说明

基于html5实现的视频播放器,提供PSD源文件,部分功能未完善,2012年作品,已停止维护

##截图

html5video

示例

http://www.zi-han.net/developer/717.html

配置

$(function(){
	/**--精简示例--**/
	$(".video_container").html5video({src:"http://cdn.zi-han.net/file/HTML5%E6%A6%82%E8%BF%B0.mp4"});
	/**--完整示例--**/
	$(".video_container").html5video({
		width:600,               //Number型,播放器宽度。
		height:338,              //Number型,播放器高度。
		src:"http://cdn.zi-han.net/file/HTML5%E6%A6%82%E8%BF%B0.mp4",//String型,必填项!要播放的视频的 URL。
		poster:"http://cdn.zi-han.net/file/video_poster.png",//String型,在视频播放之前所显示的图片的 URL。
		loop:false,              //Boolean型,则当媒介文件完成播放后再次开始播放。
		preload:true,            //Boolean型,如果出现该属性,则视频在页面加载时进行加载,并预备播放。
		notsuportmsg:"您的浏览器不支持html5,无法使用该插件!" //String型,浏览器不支持video标签时的提示,可使用html标签。
	});
});

html5video's People

Contributors

beau-zihan 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.