class Google::Apis::SlidesV1::VideoProperties
The properties of the Video
.
Attributes
Whether to enable video autoplay when the page is displayed in present mode. Defaults to false. Corresponds to the JSON property `autoPlay` @return [Boolean]
Whether to enable video autoplay when the page is displayed in present mode. Defaults to false. Corresponds to the JSON property `autoPlay` @return [Boolean]
The time at which to end playback, measured in seconds from the beginning of the video. If set, the end time should be after the start time. If not set or if you set this to a value that exceeds the video's length, the video will be played until its end. Corresponds to the JSON property `end` @return [Fixnum]
Whether to mute the audio during video playback. Defaults to false. Corresponds to the JSON property `mute` @return [Boolean]
Whether to mute the audio during video playback. Defaults to false. Corresponds to the JSON property `mute` @return [Boolean]
The outline of a PageElement
. If these fields are unset, they may be inherited from a parent placeholder if it exists. If there is no parent, the fields will default to the value used for new page elements created in the Slides editor, which may depend on the page element kind. Corresponds to the JSON property `outline` @return [Google::Apis::SlidesV1::Outline]
The time at which to start playback, measured in seconds from the beginning of the video. If set, the start time should be before the end time. If you set this to a value that exceeds the video's length in seconds, the video will be played from the last second. If not set, the video will be played from the beginning. Corresponds to the JSON property `start` @return [Fixnum]
Public Class Methods
# File lib/google/apis/slides_v1/classes.rb, line 5167 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 5172 def update!(**args) @auto_play = args[:auto_play] if args.key?(:auto_play) @end = args[:end] if args.key?(:end) @mute = args[:mute] if args.key?(:mute) @outline = args[:outline] if args.key?(:outline) @start = args[:start] if args.key?(:start) end