# Shoes changing video size

**URL:** <https://www.ruby-forum.com/t/shoes-changing-video-size/143823>\
**Category:** Ruby\
**Created:** [July 23, 2008, 2:41am UTC](https://www.ruby-forum.com/t/shoes-changing-video-size/143823 "2008-07-23T02:41:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edward\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/76d3ee/32.png) [@Edward\_R](https://www.ruby-forum.com/u/Edward_R)\
**Post date:** [July 23, 2008, 2:41am UTC](https://www.ruby-forum.com/t/shoes-changing-video-size/143823/1 "2008-07-23T02:41:06Z")

</div>

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  
#########################################################################
