public class YtDuration extends AbstractExtension
MediaContent
and is
useful when there is no MediaContent.
This tag should go inside MediaGroup, next to media:player
Constructor and Description |
---|
YtDuration()
Creates an empty duration tag.
|
YtDuration(long seconds)
Creates and initializes a duration tag.
|
Modifier and Type | Method and Description |
---|---|
long |
getSeconds()
Gets duration in seconds.
|
void |
setSeconds(long seconds)
Sets duration in seconds.
|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable