Module: BubbleWrap::Media

Defined in:
motion/media/media.rb,
motion/media/player.rb

Defined Under Namespace

Modules: Error Classes: Player

Class Method Summary collapse

Class Method Details

.play(*args, &block) ⇒ Object


9
10
11
# File 'motion/media/media.rb', line 9

def play(*args, &block)
  Media::Player.new.retain.send(:play, *args, &block)
end

.play_modal(*args, &block) ⇒ Object


5
6
7
# File 'motion/media/media.rb', line 5

def play_modal(*args, &block)
  Media::Player.new.retain.send(:play_modal, *args, &block)
end