Locale

Change the locale of the datepicker, schedule and client side validation messages.

Language
English
English
English
French
German
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
Serbian
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

Input Style

Themes

PrimeOne
Saga Saga
Vela Vela
Arya Arya
Bootstrap
bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple
Material Design
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple
Material Design Compact
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple

Audio

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

MP3
OGG

<div class="card">
    <h5>MP3</h5>
    <p:audio value="http://download.lisztonian.com/music/download/Larghetto+in+F-62.mp3"
             player="mp3"
             controls="true"
             onplay="console.log('MP3 Started Playing')"
             onpause="console.log('MP3 Stopped Playing')">
        Your browser does not support the audio element.
        See: <h:outputLink value="https://www.w3schools.com/html/html5_audio.asp">HTML5 Audio</h:outputLink>
    </p:audio>
</div>
<div class="card">
    <h5>OGG</h5>
    <p:audio value="/resources/demo/media/sample-ogg.ogg"
             controls="true"
             onplay="console.log('OGG Started Playing')"
             onpause="console.log('OGG Stopped Playing')">
        Your browser does not support the audio element.
        See: <h:outputLink value="https://www.w3schools.com/html/html5_audio.asp">HTML5 Audio</h:outputLink>
    </p:audio>
</div>