Sha256: 10b3d2a5a0b679255b38a8450ac92a1a3e940714f86df4b6b6a5c8787f6286e2
Contents?: true
Size: 410 Bytes
Versions: 5
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true my_video = Atome.new( video: { renderers: [:browser], id: :video1, type: :video, parents: [:view], time: 33, path: './medias/videos/avengers.mp4', left: 333, top: 33, width: 777 } ) do |params| puts "video callback here #{params}" end my_video.touch(true) do grab(:video1).time(3) my_video.pause(true) wait 3 do play(15) end end my_video.play(true)
Version data entries
5 entries across 5 versions & 1 rubygems