Sha256: 11a376f012ab14933accb81756bbbcc2a1a9f3fae1d1d62b841cc506d02cb637
Contents?: true
Size: 408 Bytes
Versions: 7
Compression:
Stored size: 408 Bytes
Contents
# frozen_string_literal: true my_video = Atome.new( video: { renderers: [:browser], id: :video1, type: :video, attach: [:view], time: 33, path: './medias/videos/avengers.mp4', left: 69, 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(50) end end my_video.play(true)
Version data entries
7 entries across 7 versions & 1 rubygems