Sha256: 163d5a502900b13ad09d219e23e29eb5d86c2a9de805fa41871695dfdcf32382

Contents?: true

Size: 345 Bytes

Versions: 12

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

my_video = Atome.new(
  video: { renderers: [:browser],  id: :video1, type: :video, parents: [:view],
           path: './medias/videos/avengers.mp4', left: 333, top: 33, width: 777
  }
) do |params|
  puts "video callback here #{params}"
end
my_video.play(true)


my_video.touch(true) do
  my_video.fullscreen
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
atome-0.5.3.8.1 vendor/assets/src/medias/rubies/examples/fullscreen.rb
atome-0.5.3.8.0 vendor/assets/src/medias/rubies/examples/fullscreen.rb
atome-0.5.3.7.8 vendor/assets/src/medias/rubies/examples/fullscreen.rb
atome-0.5.3.7.3 vendor/assets/src/medias/rubies/examples/fullscreen.rb
atome-0.5.3.7.2 vendor/assets/src/medias/rubies/examples/fullscreen.rb
atome-0.5.3.4 vendor/assets/src/medias/rubies/examples/fullscreen.rb
atome-0.5.3.2 vendor/assets/src/medias/rubies/examples/fullscreen.rb
atome-0.5.2.8 vendor/assets/src/medias/rubies/examples/fullscreen.rb
atome-0.5.2.7 vendor/assets/build/medias/rubies/examples/fullscreen.rb
atome-0.5.2.5 vendor/assets/build/medias/rubies/examples/fullscreen.rb
atome-0.5.1.9 vendor/assets/build/medias/rubies/examples/fullscreen.rb
atome-0.5.1.4 vendor/assets/build/medias/rubies/examples/fullscreen.rb