This player has adapters for Youtube and HTML video APIs. So you can use it as customizable Youtube player or as HTML video player with fallback to Youtube player if the user browser doesn't support HTML5 video element.

The player is aware of the vandalic way DivX embeds its own web player when installed, and tries to fix it gratefully.

Youtube Custom Player Demo

HTML Video Player with Youtube player fallback Demo

Usage and API

Include player script and CSS on the page:

Youtube player

HTML video player

Available Options

The YouTube video ID that identifies the video that the player will load.
Values: 0 or 1. Default is 0. Sets whether or not the initial video will autoplay when the player loads.
Values: 0 or 1. Default is 1. Setting to 1 enables HD playback by default.
As an extra security measure, you should include the origin parameter to the URL, specifying the URL scheme (http:// or https://) and full domain of your host page as the parameter value. While origin is optional, including it protects against malicious third-party JavaScript being injected into your page and hijacking control of your player.
Used to specify video API adapter explicitly. Can be either VideoElement or Youtube
List of enabled features. By default it is ["playpause", "progress", "quality", "timer", "mute", "fullscreen"]