public class PlayerReference extends java.lang.Object implements Reference, java.io.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(java.net.URI url) |
PlayerReference(java.net.URI url,
java.lang.Integer width,
java.lang.Integer height) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getHeight()
Height of the player
|
java.net.URI |
getUrl()
URL of the player
|
java.lang.Integer |
getWidth()
Width of the player
|
int |
hashCode() |
java.lang.String |
toString() |
public PlayerReference(java.net.URI url,
java.lang.Integer width,
java.lang.Integer height)
url - url of the playerwidth - width of the playerheight - height of the playerpublic PlayerReference(java.net.URI url)
url - URL of the playerpublic java.lang.Integer getHeight()
public java.net.URI getUrl()
public java.lang.Integer getWidth()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2025. All rights reserved.