Locale

Language
English
English
English
French
German
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Arabic
Bulgarian
Czech
Greek
Persian
Finnish
Danish
Hindi
Indonesian
Croatian
Japanese
Hungarian
Hebrew
Georgian
Central Kurdish
Khmer
Kyrgyz
Kazakh
Lithuanian
Latvian
Malay
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

Input Style

Free Themes

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

Saga Saga
Vela Vela
Arya Arya

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

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>