Plugin jQuery: Custom HTML5 video player with jQuery and CSS3

Custom HTML5 video player with jQuery and CSS3
http://www.jqueryrain.com/?http://devfiles.myopera.com/articles/2642/index.html
http://dev.opera.com/articles/view/custom-html5-video-player-with-css3-and-jquery/
19/05/2012

Nội dung

Custom HTML5 video player with jQuery and CSS3

We want to create a video player that looks consistent across browsers. Each browser however provides its own different look and feel for the player, from the minimal approach of Firefox and Chrome, to the more shiny controls of Opera and Safari (see Figure 1 for the controls in each browser). If we want our controls to look the same across all browsers, and integrate with our own design, we’ll have to create our own controls from scratch.

All media elements in HTML5 support the media elements API, which we can access using JavaScript and use to easily wire up functions such as play, pause, etc. to any buttons we create. Because the native video player plays nicely with other open web technologies, we can create our controls using HTML, CSS, SVG or whatever else we like.

Tags: Html5 Video Player

Nguồn: www.jqueryrain.com/2012/05/custom-html5-video-player-with-jquery-and-css3/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận