Video Player

compared with
Current by Philip Breau
on Jan 17, 2013 16:37.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 h3. VideoPlayer
  
 This component will make use of the <html5> video tag and the JSF properties listed below.
  
 h5. Usage
  
 # To use this component, first the mobility tag-lib namespace has to be added in your page:\-
 {code:xml}<html ... xmlns:mobi="http://www.icesoft.com/icefaces/mobile/component">
 {code}
  
 For the proper theming and markup based upon device, include the {code}
  <mobi:deviceResource/> {code}
 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
  
 {code:xml}
 <mobi:videoPlayer id="videoFile" value="#{videoBean.pathToFile}" controls="true"
  preload="auto" />
 {code}
 * byte array loaded in session scope
  
 {code}
 <mobi:videoPlayer id="videoFile" value="#{videoBean.pathToFile}"
  linkLabel="Play"
  preload="auto" contentType="#{videoBean.contentType}" scope="session"/>
 {code}
  
 {tip:title=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|http://res.icesoft.org/docs/icemobile/v1_latest/tld/mobi/videoPlayer.html].{tip}
  
  h3. Tag Documentation
  h3. Component Documentation
 [videoPlayer|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/videoPlayer.html]

© Copyright 2016 ICEsoft Technologies Canada Corp.