Skip to content

Commit

Permalink
Changes for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Pinzon authored and Charles Jolley committed Apr 9, 2010
1 parent 9149187 commit d67aadd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions apps/video/english.lproj/main_page.js
Expand Up @@ -21,7 +21,7 @@ VideoApp.mainPage = SC.Page.design({
layout: { centerX: 0, centerY: 0, width: 640, height: 480 },

canvasView: SC.VideoView.design({
layout: { top: 0, left: 0, width: 640, height: 480 },
layout: { top: 0, left: 0, width: 640, height: 350 },
canPlayCB : VideoApp.appController.canPlay,
classNames: 'reflector',
src: 'http://tinyvid.tv/vfe/big_buck_bunny.mp4'
Expand All @@ -33,15 +33,15 @@ VideoApp.mainPage = SC.Page.design({
classNames: 'controllers',
playButton: SC.ButtonView.design({
title: '',
titleMinWidth: 25,
titleMinWidth: 35,
icon: 'play',
layout: { top: 0, left: 5, width: 30},
layout: { top: 0, left: 5, width: 37},
action: "playPause",
target: "VideoApp.appController"
}),

progressView: SC.SliderExtended.design({
layout: { top: 2, left: 40, width: 340},
layout: { top: 2, left: 42, width: 335},
value:0,
valueBinding: "VideoApp.mainPage.mainPane.videoPlayer.canvasView.currentTime" ,
minimum: 0,
Expand Down Expand Up @@ -78,8 +78,8 @@ VideoApp.mainPage = SC.Page.design({
theaterButton: SC.ButtonView.design({
title: '',
icon: 'theater',
titleMinWidth: 30,
layout: { top: 0, right: 5, width: 30},
titleMinWidth: 35,
layout: { top: 0, right: 5, width: 35},
action: "theatherMode",
target: "VideoApp.appController"
})
Expand Down
6 changes: 3 additions & 3 deletions apps/video/english.lproj/video.css
Expand Up @@ -25,14 +25,14 @@

.play
{
background: transparent static_url('buttons.gif') no-repeat -3px 3px ;
background: transparent static_url('buttons.gif') no-repeat 0px 3px ;
height: 20px;
width: 19px;
width: 22px;
}

.theater
{
background: transparent static_url('buttons.gif') no-repeat -22px 3px ;
background: transparent static_url('buttons.gif') no-repeat -20px 3px ;
height: 20px;
width: 18px;
}
Expand Down

0 comments on commit d67aadd

Please sign in to comment.