Sha256: f3062dd64c697cce14e61c63855df82f470dca3f3ed17bc5989a434c713805df

Contents?: true

Size: 354 Bytes

Versions: 12

Compression:

Stored size: 354 Bytes

Contents

require 'yt/annotations/note'

module Yt
  module Annotations
    # A Speech annotation is like a NOT annotation with text, start/end time
    # and an optional link, but it's shaped like a speech bubble.
    class Speech < Note
    private
      def regions_of(data)
        data['segment']['movingRegion']['anchoredRegion']
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
yt-annotations-2.0.0 lib/yt/annotations/speech.rb
yt-annotations-1.4.2 lib/yt/annotations/speech.rb
yt-annotations-1.4.1 lib/yt/annotations/speech.rb
yt-annotations-1.4.0 lib/yt/annotations/speech.rb
yt-annotations-1.3.2 lib/yt/annotations/speech.rb
yt-annotations-1.3.1 lib/yt/annotations/speech.rb
yt-annotations-1.3.0 lib/yt/annotations/speech.rb
yt-annotations-1.2.3 lib/yt/annotations/speech.rb
yt-annotations-1.2.2 lib/yt/annotations/speech.rb
yt-annotations-1.2.1 lib/yt/annotations/speech.rb
yt-annotations-1.2.0 lib/yt/annotations/speech.rb
yt-annotations-1.1.0 lib/yt/annotations/speech.rb