Video Player

You are viewing an old version (v. 7) of this page.
The latest version is v. 8, last edited on Jan 17, 2013 (view differences | )
<< View previous version | view page history | view next version >>


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

  1. To use this component, first the mobility tag-lib namespace has to be added in your page:-
    <html ... xmlns:mobi="">

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


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

  • Static source
<mobi:videoPlayer id="videoFile" value="#{videoBean.pathToFile}" controls="true"
   preload="auto" />
  • byte array loaded in session scope
<mobi:videoPlayer id="videoFile" value="#{videoBean.pathToFile}"
   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.

Tag Documentation


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.