vendor/assets/src/medias/rubies/examples/add.rb in atome-0.5.3.8.8 vs vendor/assets/src/medias/rubies/examples/add.rb in atome-0.5.4.0.9
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
my_video = Atome.new(
- video: { renderers: [:browser], id: :video1, type: :video, parents: [:view],
+ video: { renderers: [:browser], id: :video1, type: :video, attach: [:view],
path: './medias/videos/avengers.mp4', left: 33, top: 33, width: 777
}
)
my_video.touch(true) do