struct Video

Included Modules

Defined in:

invidious/videos.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(rs : DB::ResultSet) #

[View source]
def self.new(tuple) #

Class Method Detail

def self.from_rs(rs : DB::ResultSet) #

[View source]
def self.type_array #

Instance Method Detail

def adaptive_fmts #

[View source]
def adaptive_fmts=(adaptive_fmts : Array(Hash(String, JSON::Any)) | Nil) #

[View source]
def allow_ratings #

[View source]
def allowed_regions #

[View source]
def audio_streams #

[View source]
def author #

[View source]
def author_thumbnail : String #

[View source]
def average_rating : Float64 #

[View source]
def captions : Array(Caption) #

[View source]
def captions=(captions : Array(Caption) | Nil) #

[View source]
def dash_manifest_url #

[View source]
def description #

[View source]
def description=(value : String) #

TODO


[View source]
def description=(description : String | Nil) #

[View source]
def description_html #

[View source]
def description_html=(value : String) #

[View source]
def dislikes : Int64 #

[View source]
def engagement : Float64 #

[View source]
def fmt_stream #

[View source]
def fmt_stream=(fmt_stream : Array(Hash(String, JSON::Any)) | Nil) #

[View source]
def genre : String #

[View source]
def genre_url : String | Nil #

[View source]
def hls_manifest_url : String | Nil #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def info : Hash(String, JSON::Any) #

[View source]
def info=(info : Hash(String, JSON::Any)) #

[View source]
def is_family_friendly : Bool #

[View source]
def is_listed #

[View source]
def is_upcoming #

[View source]
def is_vr : Bool | Nil #

[View source]
def keywords #

[View source]
def length_seconds : Int32 #

[View source]
def license : String | Nil #

[View source]
def likes : Int64 #

[View source]
def live_now #

[View source]
def premiere_timestamp : Time | Nil #

[View source]
def premium #

[View source]
def projection_type : String | Nil #

[View source]
def published : Time #

[View source]
def published=(other : Time) #

[View source]
def reason : String | Nil #

[View source]
def related_videos #

[View source]
def short_description #

[View source]
def storyboards #

[View source]
def sub_count_text : String #

[View source]
def title #

[View source]
def to_a #

def to_json(locale : Hash(String, JSON::Any), json : JSON::Builder) #

[View source]
def to_json(locale, json : JSON::Builder | Nil = nil) #

[View source]
def ucid #

[View source]
def updated : Time #

[View source]
def updated=(updated : Time) #

[View source]
def video_streams #

[View source]
def views : Int64 #

[View source]
def wilson_score : Float64 #

[View source]