Resource: InvideoBranding
A watermark resource (InvideoBranding) identifies an image that displays during playbacks of a channel's videos, along with the timing details that control when and how long it appears and an optional target channel that it links to.
| JSON representation |
|---|
{ "timing": { "type": enum, "offsetMs": string, "durationMs": string }, "targetChannelId": string } |
| Fields | |
|---|---|
timing |
Required. The temporal position within a video where the watermark image displays. |
timing.type |
Required. The timing method that determines when the watermark image appears during video playback. If the value is Valid values of this enum field are:
|
timing.offsetMs |
Required. The time offset, in milliseconds, that determines when the watermark image appears during video playback. Depending on |
timing.durationMs |
The length of time, in milliseconds, that the watermark image displays. If specified, the value must be at least |
targetChannelId |
The YouTube channel ID of the channel that the watermark image links to. If omitted, the watermark links to the channel specified by the |
Methods |
|
|---|---|
|
Uploads a watermark image to YouTube and sets it for a channel. |
|
Deletes a channel's API-configured watermark image. |