Sha256: dcf4e92c38266cc37b32e0ed20068df3ab9de7a0b90744512b42168f3698e45c
Contents?: true
Size: 574 Bytes
Versions: 7
Compression:
Stored size: 574 Bytes
Contents
# frozen_string_literal: true my_video2 = Atome.new( video: { renderers: [:browser], id: :video9, type: :video, attach: [:view], path: './medias/videos/madmax.mp4', left: 666, top: 333, width: 199, height: 99, }) do |params| puts "2- video callback time is #{params}, id is : #{id}" end my_video2.top(33) my_video2.left(333) my_video2.touch(true) do my_video2.play(true) do |currentTime| puts "2 - play callback time is : #{currentTime}, id is : #{id}" end wait 2 do my_video2.mute(true) wait 3 do my_video2.mute end end end
Version data entries
7 entries across 7 versions & 1 rubygems