public class PlayerReference extends Object implements Reference, Serializable
Allows the media object to be accessed through a web browser media player console. This element is required only if a direct media url attribute is not specified in the <media:content> element. It has 1 required attribute, and 2 optional attributes.
<media:player url="http://www.foo.com/player?id=1111" height="200" width="400" />
url is the url of the player console that plays the media. It is a required attribute.
height is the height of the browser window that the url should be opened in. It is an optional attribute.
width is the width of the browser window that the url should be opened in. It is an optional attribute.
Constructor and Description |
---|
PlayerReference(URI url) |
PlayerReference(URI url,
Integer width,
Integer height) |
public PlayerReference(URI url, Integer width, Integer height)
url
- url of the playerwidth
- width of the playerheight
- height of the playerpublic PlayerReference(URI url)
url
- URL of the playerCopyright © 2022. All rights reserved.