Class: GoogleVideo::VideoFrameThumbnail

Inherits:
Record
  • Object
show all
Defined in:
lib/google-video.rb

Overview

Provides a miniature snapshot of a point in time within a full video. On the actual Google Video site these are linked to auto-pan the video to the start of the scene represented in the thumbnail, but for us there’s no direct link of meaning so we’ve only got static content which is nevertheless of potential interest and utility. Parameters are specified via a hash passed to the object on construction mapping attribute names to their respective values.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from GoogleVideo::Record

Instance Attribute Details

#thumbnail_image_urlObject (readonly)

the full url to the video frame thumbnail image.



201
202
203
# File 'lib/google-video.rb', line 201

def thumbnail_image_url
  @thumbnail_image_url
end

#titleObject (readonly)

the title of the video frame, e.g. “at 10 secs”, “at 30 secs”, etc.



198
199
200
# File 'lib/google-video.rb', line 198

def title
  @title
end