Git Product home page Git Product logo

swingingvideoplayer's Introduction

Swinging Video Player

Swinging Video Player is an HTML5 video player with graceful fallback to Flash and a consistent UI for all devices and browsers.

Yet another player? Why dude...

Because I can! Ok, for real. I wanted to create a video player that handles web video and not just fancy smancy buzzy HTML5 stuff. It's all about the user. Everybody has the right to see your video's the way you intended it. So, no matter what the technology is used, the user should get consistent experience watching your video's on their laptop, tablet or HTC phone.

Swinging Video Player feature detects and does the embedding for you. It favours HTML5, after that it uses flash. Depending on your browser and the sources you add, the player goes into HTML5 mode or not. For Example, if you only add an h264 file, Firefox (and later on Chrome) will get a flash player, but your iPad will use it's native HTML5 player.

Skinning

To optimize for the many devices that are used, the UI is build out of HTML and CSS. This combination is strong and easy to intergrade by any web developer. You don't need themes or skins, just CSS away. Use images or gradients. Or make it progressively enhance according to the users' browser and device capabilities.

Dependencies

Swinging Video Player uses jQuery for the DOM manipulation and event publishing and a customized (very small) jQuery UI for the sliders and keyboard handlers. For the flash embed it uses swfObject. The customized jQuery UI and swfObject are delivered within the codebase so you don't have to get those yourself.

Because I was already using jQuery I added a small jQuery function to turn SwingingVideoPlayer into a jQuery Plugin. You do not have to use the plugin, you can also just instanciate the Swinging Video player prototype.

Implementation

Extending

swingingvideoplayer's People

Contributors

timbenniks avatar

Stargazers

zer00ne avatar Dinesh Kr. Choudhary avatar

Watchers

 avatar James Cloos avatar zer00ne 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.