Locale

Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

PrimeOne Design

Saga Saga
Vela Vela
Arya Arya

Premium Themes

Premium themes are only available exclusively for PrimeFaces Theme Designer subscribers and therefore not included in PrimeFaces core.

bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.

Video

The HTML Video element is used to play a video file on a web page. There are three supported audio formats: MP4, WEBM, and OGG. All of the attributes and events for HTML5 Video are available to use.

MP4
WEBM

<div class="card">
    <h5>MP4</h5>
    <p:video value="https://www.w3schools.com/html/mov_bbb.mp4"
             player="mp4"
             controls="true"
             width="420"
             height="250"
             onplay="console.log('MP4 Started Playing')"
             onpause="console.log('MP4 Stopped Playing')">
        Your browser does not support the video element.
        See: <h:outputLink value="https://www.w3schools.com/html/html5_video.asp">HTML5 Video</h:outputLink>
    </p:video>
</div>
<div class="card">
    <h5>WEBM</h5>
    <p:video value="/resources/demo/media/sample-webm.webm"
             controls="true"
             width="420"
             height="250"
             onplay="console.log('WEBM Started Playing')"
             onpause="console.log('WEBM Stopped Playing')">
        Your browser does not support the video element.
        See: <h:outputLink value="https://www.w3schools.com/html/html5_video.asp">HTML5 Video</h:outputLink>
    </p:video>
</div>