app/models/item.rb
# if the associated medium contains a video, returns a link to the play
# action, starting at the correct time
# result might look like this:
# "/media/22/play?time=4480.5"
if the associated medium contains a video, returns a link to the play
action, starting at the correct time
result might look like this:
"/media/22/play?time=4480.5"
if the associated medium contains a video returns a link to the play action starting at the correct time result might look like this : " / media / 22 / play?time = 4480 . 5 "
def video_link
    return if sort == 'pdf_destination'
    return unless video?
    return video_link_untimed if sort == 'self'
    video_link_timed
  end
def video_link return if sort == 'pdf_destination' return unless video? return video_link_untimed if sort == 'self' video_link_timed end
if the associated medium contains a video, returns a link to the play
action, starting at the correct time
result might look like this:
"/media/22/play?time=4480.5"
if the associated medium contains a video returns a link to the play action starting at the correct time result might look like this : " / media / 22 / play?time = 4480 . 5 "