# frozen_string_literal: true my_video = Atome.new( ) my_video.touch(true) do my_video.play(3) puts "play : #{my_video.play}, pause : #{my_video.pause}" end stoper = lambda do my_video.pause(true) end jumper=lambda do my_video.play(12) my_video.play(12) end my_video.markers({ markers: { begin: 6, code: jumper } }) my_video.add({ markers: { my_stop: { begin: 16, code: stoper } } })