From 64e864079585e2724648cd14da38241645f340ef Mon Sep 17 00:00:00 2001 From: denise <denise@denise-DX4860.(none)> Date: Thu, 19 Apr 2012 12:34:51 -0400 Subject: [PATCH] CC-3668: Live stream player - volume control needs improved usability -new layout done, mute/un-mute image blurry (need new one) --- .../scripts/dashboard/stream-player.phtml | 1 - .../public/js/airtime/dashboard/playlist.js | 2 +- .../js/jplayer/skin/jplayer-mute-unmute.png | Bin 0 -> 3128 bytes .../js/jplayer/skin/jplayer.blue.monday.css | 30 ++++++++++-------- 4 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 airtime_mvc/public/js/jplayer/skin/jplayer-mute-unmute.png diff --git a/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml b/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml index de20357df..ce4faa068 100644 --- a/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml +++ b/airtime_mvc/application/views/scripts/dashboard/stream-player.phtml @@ -75,7 +75,6 @@ $(document).ready(function(){ <ul class="jp-controls"> <li><a title="mute" tabindex="1" class="jp-mute" href="javascript:;">mute</a></li> <li><a title="unmute" tabindex="1" class="jp-unmute" href="javascript:;">unmute</a></li> - <!--<li><a title="max volume" tabindex="1" class="jp-volume-max" href="javascript:;">max volume</a></li>--> </ul> <div class="jp-volume-bar"> <div class="jp-volume-bar-value"></div> diff --git a/airtime_mvc/public/js/airtime/dashboard/playlist.js b/airtime_mvc/public/js/airtime/dashboard/playlist.js index 368e776d5..077d9b780 100644 --- a/airtime_mvc/public/js/airtime/dashboard/playlist.js +++ b/airtime_mvc/public/js/airtime/dashboard/playlist.js @@ -434,7 +434,7 @@ function init() { $('.listen-control-button').click(function() { if (stream_window == null || stream_window.closed) - stream_window=window.open(baseUrl+"Dashboard/stream-player", 'name', 'width=400,height=178'); + stream_window=window.open(baseUrl+"Dashboard/stream-player", 'name', 'width=400,height=158'); stream_window.focus(); return false; }); diff --git a/airtime_mvc/public/js/jplayer/skin/jplayer-mute-unmute.png b/airtime_mvc/public/js/jplayer/skin/jplayer-mute-unmute.png new file mode 100644 index 0000000000000000000000000000000000000000..b8dabe98275749aa72b48c307839db3d88633bd7 GIT binary patch literal 3128 zcmV-849D|{P)<h;3K|Lk000e1NJLTq005Q%000>X1^@s6)92Uk00001b5ch_0Itp) z=>Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iyb` z4=OP$?W1Y{01LQDL_t(&-tC%ej9t}r$A4?@^SbxW%lF=S_%#k-<1(1IR6*utpi~eF zBEla?KTxS35W%X58dr)F8&Fdb+=rB+N=-$v74=gai3UiZ!A%emL<K~W8VDvX*i3nN z#`Co2c^~KOz53zaYsP4tsLIqcALcI|>1dyO=dAl*|MlNztuwHSRjgtat60S<R<Vi; zhQ4y&qU*io-W3&R_F(z{w7#6^EiKMnZ_mo&G~HiXbiIC_^~E5IEw1fb%kZgT+Jklp z<It$6h=`w@ne;1*fHi~%PLn;jR?y5Kh$<dJA08N5QOU~Xa#Si606LNm69%DCs~Ai+ zJ~htzb?Z4fbaL6_^bdDp9+_$uXSd0~v}!eZbd36gC89?se&gRUpI+!Lb~Aix7=X4? z+s3#pz9v`5?MU)Te{XMZu#&1OJa8KQHb8YF;;#X}L&W!s)Pj{Hs`jM)tf=~W`#K9< zg)8Dhe0`E6+ic#p1LugUtJDQRu~<C2R$Np3|L61@r3Io|(+U0xgTLP3w;6mpaE_?5 zhq?i%KJ>}%P;IWs`J8NR&)Q8<6y1g4S`nE>I4sDI2LESpdZi@HKinzK*-gM*z_q|M za2WVecwq8^$5~oaV&e4qtGQe%cjj`royM435!Q*w8=~^v!4C$H1CR&iKPAexc3ZF4 zU9DcDueXm=Bd31rIBQ=k5&zA^uPNGMC$JN^6<7zn0em++FnJuH{ug~je|c^km4|yQ z;Bt?QQr}-92!l}KI5yT=snu#e2!p7QD+~l-a7PdacZN3HYOHw|!x4*J7AL5Dt%x8Z z8W>T8)Og~0lw}M6cK~++TY-0hBfzr6xlmM57@1ry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er.blue.monday.css b/airtime_mvc/public/js/jplayer/skin/jplayer.blue.monday.css index e8e710488..293dbaef0 100644 --- a/airtime_mvc/public/js/jplayer/skin/jplayer.blue.monday.css +++ b/airtime_mvc/public/js/jplayer/skin/jplayer.blue.monday.css @@ -100,7 +100,7 @@ div.jp-interface { border-bottom: 1px solid #1a1a1a; } div.jp-audio div.jp-type-single div.jp-interface { - height: 70px; + height: 50px; } div.jp-audio div.jp-type-playlist div.jp-interface { height: 80px; @@ -282,12 +282,16 @@ div.jp-seeking-bg { background: url(pbar-ani.gif); } a.jp-mute, a.jp-unmute, a.jp-volume-max { - width: 20px; + width: 25px; height: 20px; } -div.jp-audio div.jp-type-single a.jp-mute, div.jp-audio div.jp-type-single a.jp-unmute { - top: 45clearpx; - left: 210px; +div.jp-audio div.jp-type-single a.jp-mute{ + top: 15px; + left: 102px; +} +div.jp-audio div.jp-type-single a.jp-unmute { + top: 15px; + left: 90px; } div.jp-audio div.jp-type-playlist a.jp-mute, div.jp-audio div.jp-type-playlist a.jp-unmute { top: 32px; @@ -309,17 +313,17 @@ div.jp-video-360p div.jp-type-playlist a.jp-mute, div.jp-video-360p div.jp-type- left: 443px; } a.jp-mute { - background: url(jplayer.png) 0 -90px no-repeat; + background: url(jplayer-mute-unmute.png) 0 0 no-repeat; } a.jp-mute:hover { - background: url(jplayer.png) -30px -90px no-repeat; + background: url(jplayer-mute-unmute.png) -42px 0 no-repeat; } a.jp-unmute { - background: url(jplayer.png) -61px -90px no-repeat; + background: url(jplayer-mute-unmute.png) -84px 0 no-repeat; display: none; } a.jp-unmute:hover { - background: url(jplayer.png) -91px -90px no-repeat; + background: url(jplayer-mute-unmute.png) -124px 0 no-repeat; } div.jp-interface ul.jp-controls a.jp-volume-max { background: url(jplayer.png) no-repeat scroll 0 -110px transparent; @@ -342,12 +346,12 @@ div.jp-volume-bar { border-left: 1px solid #262526; border-right: 1px solid #262526; width: 160px; - height: 4px; + height: 7px; cursor: pointer; } div.jp-audio div.jp-type-single div.jp-volume-bar { - top: 48px; - left: 225px; + top: 24px; + left: 120px; } div.jp-audio div.jp-type-playlist div.jp-volume-bar { top: 37px; @@ -373,7 +377,7 @@ div.jp-volume-bar-value { background: -moz-linear-gradient(top, #fc9318 0, #e56815 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fc9318), color-stop(100%, #e56815)); width: 0px; - height: 3px; + height: 6px; } div.jp-current-time, div.jp-duration { position: absolute;