vendor/assets/src/medias/rubies/examples/mute.rb in atome-0.5.3.8.8 vs vendor/assets/src/medias/rubies/examples/mute.rb in atome-0.5.4.0.9
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
my_video2 = Atome.new(
- video: { renderers: [:browser], id: :video9, type: :video, parents: [:view], path: './medias/videos/madmax.mp4',
+ video: { renderers: [:browser], id: :video9, type: :video, attach: [: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)
\ No newline at end of file