Sha256: 3d2c07fdf1446335d0eb26ee13874fa7596cd241b1dd6da58b4ea0eac36a1a4c
Contents?: true
Size: 345 Bytes
Versions: 7
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true my_video = Atome.new( video: { renderers: [:browser], id: :video1, type: :video, attach: [: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
7 entries across 7 versions & 1 rubygems