Class: Google::Apis::YoutubeV3::VideoPlayer
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::VideoPlayer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
Player to be used for a video playback.
Instance Attribute Summary collapse
-
#embed_height ⇒ String
Corresponds to the JSON property
embedHeight. -
#embed_html ⇒ String
An
-
#embed_width ⇒ String
The embed width Corresponds to the JSON property
embedWidth.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoPlayer
constructor
A new instance of VideoPlayer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoPlayer
Returns a new instance of VideoPlayer
8042 8043 8044 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8042 def initialize(**args) update!(**args) end |
Instance Attribute Details
#embed_height ⇒ String
Corresponds to the JSON property embedHeight
8030 8031 8032 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8030 def @embed_height end |
#embed_html ⇒ String
An
8035 8036 8037 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8035 def @embed_html end |
#embed_width ⇒ String
The embed width
Corresponds to the JSON property embedWidth
8040 8041 8042 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8040 def @embed_width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8047 8048 8049 8050 8051 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 8047 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 |