Sha256: 4f1e455b33113bdd677127fac7da6d7c89034343a082aff5e57d7017f555eeb8

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

# play videos

button=box({height: 33, x: 9, width: 222, smooth: 33, y: 6})
button.text({content:  "full screen", x: 6 })

button2=box({height: 33, x: 9, width: 222, smooth: 33, y: 66})
button2.text({content:  "full page", x: 6 })


v=video({drag: true,atome_id: :the_video, shadow: {blur: 6 , thickness: 1, x: 0, y:0, color: :black}, scale: true, x: 333, y: 150})
v.touch do
  v.play(true)
  v.size(666)
end

button.touch do
  v.fullscreen(true)
end

button2.touch do
  v.size(grab(:view).convert(:width))
  v.x(0)
  v.y(0)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atome-0.4.7.0 vendor/assets/build/medias/rubies/examples/Old_examples/play.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/play.rb