Shoes changing video size

I have finally gotten video to work with shoes and am very impressed by
the small amount of code required. Below is the code that allows me to
play a video.

Is there some way I can change the size of the video. So far I have not
found anyway of doing so.

thank you

#################################################################
Shoes.app :width => 1000, :height => 800, :resizable => true do
background “#eee

stack :margin => 4 do

@vid = video "http://whytheluckystiff.net/o..e/adventure_time.flv"
# @vid = video "path to the video."

end
para "controls: ",
link(“play”) { @vid.play }, ", ",
link(“pause”) { @vid.pause }, ", ",
link(“stop”) { @vid.stop }, ", ",
link(“hide”) { @vid.hide }, ", ",
link(“show”) { @vid.show }, “, “,
link(“size”) { @vid.height *= 2; @vid.width *= 2; @vid.redraw},”, “,
link(”+5 sec”) { @vid.time += 5000 }
end
#########################################################################

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs