Sha256: 7191be8e0f3353a2077e7d1fe21c679b1227bde898377e15605ca2c719937db4

Contents?: true

Size: 346 Bytes

Versions: 12

Compression:

Stored size: 346 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.pause(true)
end

Version data entries

12 entries across 12 versions & 1 rubygems

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