/* jqIzeYoutubeControls - (c) 2010 Emil Müller http://ize.webhop.net/home/jquery-plugins/jqizeyoutubeplayer Released under the GPL License http://www.gnu.org/licenses/gpl-3.0.txt requires: - jQuery 1.4.x - jQueryUI 1.8.x */ (function ($) { $.fn.IzeYoutubeControls = function (settings) { var config = { width: 640, height: 'auto', playlistbutton: false, onSeekFirstClick: function () { }, onSeekPreviousClick: function () { }, onPlayClick: function () { }, onPauseClick: function () { }, onSeekNextClick: function () { }, onSeekEndClick: function () { }, onMuteClick: function () { }, onUnMuteClick: function () { }, onPlaylistClick: function () { } }; if (settings) $.extend(config, settings); init = function (el) { setupMainContainer(el); setupButtons(el); } setupMainContainer = function (el) { $(el).css({ width: config.width, height: config.height }); } setupButtons = function (el) { $(el).hide(); $(el).append($("