Class: Shoes::Video

Inherits:
Object
  • Object
show all
Defined in:
lib/blue_shoes/video.rb

Instance Method Summary collapse

Instance Method Details

#removeObject

Removes the video from its slot. This will stop the video as well.



4
5
6
7
# File 'lib/blue_shoes/video.rb', line 4

def remove
  #returns self
  throw NotImplementedError
end

#showObject

Reveals the video, if it has been hidden by the hide() method.



10
11
12
13
# File 'lib/blue_shoes/video.rb', line 10

def show
  # returns self
  throw NotImplementedError
end

#stopObject

Stops the video, if it is playing.



16
17
18
19
# File 'lib/blue_shoes/video.rb', line 16

def stop
  # returns self
  throw NotImplementedError
end

#timeObject

The time position of the video in milliseconds. So, if the video is 10 seconds into play, this method would return the number 10000.



22
23
24
25
# File 'lib/blue_shoes/video.rb', line 22

def time
  # returns a number
  throw NotImplementedError
end

#time=(number) ⇒ Object

Set the position of the video to a time in milliseconds.



28
29
30
# File 'lib/blue_shoes/video.rb', line 28

def time=(number)
  throw NotImplementedError
end

#toggleObject

Toggles the visibility of the video. If the video can be seen, then hide is called. Otherwise, show is called.



33
34
35
36
# File 'lib/blue_shoes/video.rb', line 33

def toggle
  # returns self
  throw NotImplementedError
end