VideoOffset
JSON representation |
{
"offsetSeconds": integer,
"offsetPercentage": integer
} |
Fields |
offsetSeconds |
integer
Duration, in seconds. Do not set when
offsetPercentage
is set. Acceptable values are
0
to
86399
, inclusive.
|
offsetPercentage |
integer
Duration, as a percentage of video duration. Do not set when
offsetSeconds
is set. Acceptable values are
0
to
100
, inclusive.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["Video offset can be represented in JSON format using either `offsetSeconds` or `offsetPercentage`, but not both at the same time."],["`offsetSeconds` specifies the duration in seconds, with allowed values ranging from 0 to 86399."],["`offsetPercentage` specifies the duration as a percentage of the total video length, with permitted values from 0 to 100."]]],[]]