Sha256: c351bfec7e2633cebf8e93cf11580e0798e889b9aabce7ba855f484089db6e69
Contents?: true
Size: 428 Bytes
Versions: 1
Compression:
Stored size: 428 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) # video example grab(:video1).time(5) wait 4 do grab(:video1).pause(5) end grab(:video1).on(:pause) do |_event| puts :stopped end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.1.4 | vendor/assets/build/medias/rubies/examples/on.rb |