class Google::Apis::YoutubeV3::VideoPlayer
Player to be used for a video playback.
Attributes
embed_height[RW]
Corresponds to the JSON property `embedHeight` @return [Fixnum]
embed_html[RW]
An <iframe> tag that embeds a player that will play the video. Corresponds to the JSON property `embedHtml` @return [String]
embed_width[RW]
The embed width Corresponds to the JSON property `embedWidth` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 8154 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 8159 def update!(**args) @embed_height = args[:embed_height] if args.key?(:embed_height) @embed_html = args[:embed_html] if args.key?(:embed_html) @embed_width = args[:embed_width] if args.key?(:embed_width) end