Video Player

VideoPlayer

This component will make use of the <html5> video tag and the JSF properties listed below.

Usage
  1. To use this component, first the mobility tag-lib namespace has to be added in your page:-
    <html ... xmlns:mobi="http://www.icesoft.com/icefaces/mobile/component">
    

For the proper theming and markup based upon device, include the

 <mobi:deviceResource/> 

markup in the head of your template or facelet page. (this is currently necessary for blackberry not just for styling with this component).

<mobi:videoPlayer id="videoFile" value="#{videoBean.pathToFile}" controls="true"
   preload="auto" />
<mobi:videoPlayer id="videoFile" value="#{videoBean.pathToFile}"
   linkLabel="Play"
   preload="auto" contentType="#{videoBean.contentType}" scope="session"/>
TagLib Documentation
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.

Component Documentation

videoPlayer