Sha256: 7191be8e0f3353a2077e7d1fe21c679b1227bde898377e15605ca2c719937db4
Contents?: true
Size: 346 Bytes
Versions: 12
Compression:
Stored size: 346 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) my_video.touch(true) do my_video.pause(true) end
Version data entries
12 entries across 12 versions & 1 rubygems