Professional Documents
Culture Documents
0-SNAPSHOT
Media
Search by name...
SERVER API
Responsive Media component is a cross browser generic player to embed multimedia content in JSF pages. Various formats such as flash, quicktime, windows media, realplayer and pdf are supported.
FullScreen Suitable player is discovered using the source extension type and a player can be specified explicitly as well. Media component can also play binary media using the StreamedContent API.
AutoPlay
Caption
PDF
Media
PhotoCam
Switch
Video
FILE
Upload
Download
DRAGDROP
Draggable
DataView
DataTable
media.xhtml
Custom
1 <div class="card">
CLIENT SIDE VALIDATION
2 <h5>PDF</h5>
3 <p:media value="/resources/demo/media/guide.pdf" width="100%" height="300px">
4 Your browser can't display pdf, <h:outputLink
5 value="#{request.contextPath}/resources/demo/media/guide.pdf">click</h:outputLink> to download pdf instead.
6 </p:media>
7 </div>