Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

The prototypes here were used for getting the feedback of other developers, during the first part (design part) of GSOC project. They are all obsolete now, and only kept as a reference example for future students .

<hx:video>

Extends: UIOutput. May extend a abstract component with hx:audio.

...

Attributes not present in ancestor:

...

<fx:mediaSource>

Extends: UIComponent

...

Attributes:

Name

Required?

Values

Description

src

required

EL and Literal

URL of the source.

contentType

optional

EL and Literal

MIME content type of the source (ie:video/ogg).

codecs

optional

EL and Literal

Codecs of the source (ie:'avc1.64001E, mp4a.40.2').

media

optional

EL and Literal

Just like the @media in CSS.

...

<fx:mediaSources>

Extends: UIComponent

...

Attributes:

Name

Required?

Values

Description

items

required

EL

binding of a collection which has elements of types having these methods:

  • public String getSrc()
  • public String getContentType()
  • public String getMedia()
  • public String getCodecs()
    (ie. Collection<org.apache.myfaces.html5.media.MediaSourceInfo>)
    'src', 'contentType', 'media' and 'codecs' are explained in <fx:mediaSource> above.

...