Sha256: 9ddcacb0cef286c920afd30041cd2a29552060e304405c37e15e8f144a3ff1b4
Contents?: true
Size: 575 Bytes
Versions: 12
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true my_video2 = Atome.new( video: { renderers: [:browser], id: :video9, type: :video, parents: [: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
12 entries across 12 versions & 1 rubygems