VideoOffset
Stay organized with collections
Save and categorize content based on your preferences.
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."],[[["\u003cp\u003eVideo offset can be represented in JSON format using either \u003ccode\u003eoffsetSeconds\u003c/code\u003e or \u003ccode\u003eoffsetPercentage\u003c/code\u003e, but not both at the same time.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eoffsetSeconds\u003c/code\u003e specifies the duration in seconds, with allowed values ranging from 0 to 86399.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eoffsetPercentage\u003c/code\u003e specifies the duration as a percentage of the total video length, with permitted values from 0 to 100.\u003c/p\u003e\n"]]],[],null,["# VideoOffset\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nVideo Offset\n\n| JSON representation |\n|-------------------------------------------------------------------|\n| ``` { \"offsetSeconds\": integer, \"offsetPercentage\": integer } ``` |\n\n| Fields ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| `offset``Seconds` | `integer` Duration, in seconds. Do not set when `offsetPercentage` is set. Acceptable values are `0` to `86399` , inclusive. |\n| `offset``Percentage` | `integer` Duration, as a percentage of video duration. Do not set when `offsetSeconds` is set. Acceptable values are `0` to `100` , inclusive. |"]]