Docs - PlayerJS - Create HTML5 player for your website (2025)

No results found for «»

  • Opening local files

    How to allow users to play their files

  • Squarespace integration

    How to integrate a player into Squarespace

  • Custom list in the settings menu

    How to create your own options list in the player menu

  • Related videos

    How to show recommended videos at the end of playback

    recommendations
  • Bandwidth and bitrate

    How to show the average throughput for HLS and DASH in the player

    mbps kbps
  • Toolbar control via API

    How to change the display mode of the control panel through the API

    toolbar control panel hide
  • Lightweight integration

    The player will be created only after clicking on the poster

    stub plug
  • Clicking on the player

    How to catch all clicks on the player

  • Playlist progress

    How to track the progress of the entire playlist

  • Interface for visually impaired

    Support of the screen readers for blind and visually impaired people

  • Outside subtitles

    How to display subtitles outside the player

  • Enlarged buttons on full screen

    How to scale the interface in full screen mode

    fullscreen enlarge interface scale zoom
  • Round progress bar

    How to set up a round shaped timeline in the player

  • Video 360°

    How to show spherical video in the player

    immersive spherical 360 virtual
  • End credits skip button

    How to show an element a few seconds before the end of playback

    next text show until warning
  • Disabling rewind

    How to disable timeline rewind in the player

  • Player in a view area

    How to create a player only in a view area

    sight
  • Loop

    How to loop a playback

    replay repeat
  • Custom buffering icon

    How to display custom text or graphic instead of a buffering icon

  • Playing a specific playlist file

    How to specify the desired playlist file in the link of the page

    hash playlist starting file
  • Remove all buttons

    How to remove all player buttons

    hide disable
  • Color variables

    How to easily change the color of player elements without PlayerJS builder

    css change skin
  • External elements

    How to show external elements

    outside external show elements
  • Credits skip button

    How to make a credits (summary, trailer) skip button

    titles captions skip summary trailer
  • Video colour settings

    How to change the contrast, brightness, and saturation of a video in the player

    color correction contrast brightness saturation sepia
  • Vertical video

    How to build a player for vertical video

    hotkeys gestures swiping
  • Player stretch button

    How to change the size of the player with your button

    theatre cinema size expand wide
  • Repeating segments

    How to set up a playback segment to repeat

    training cut loop interval
  • UI elements visibility.

    Hide or show player UI elements based on a condition.

    hide buttons elements
  • Reboot on freezes

    How to restart the player when it freezes or a playback error occurs

    reload freez
  • Domain restrictions

    How to prevent the player from being used on certain domains

    allow deny domain protection verification block limit ban permission
  • ID3 tags

    How to read MP3 metadata (ID3 tags)

    id3 mp3 tags
  • Custom labels

    How to show custom labels in the player

    text elements label messages annotation variables
  • Playlist generator on PHP

    Script for automatic generation of playlists by folders

  • Advanced tooltip

    How to add a complex formatting to your tooltips

    tooltips
  • Age limit

    How to create warning labels and set up an age verification

    access age test mark customtext rating
  • React.js

    Example of the player integration in React.js

  • DASH video format

    How to play mpd streams

    drm widevine clearkey video streaming protocols formats
  • Playlist autoplay

    How to set up automatic playback of a playlist

    autonext autoplay next
  • Dynamic links

    How to pass playback sources to the player dynamically

  • Vue.js

    Example of player integrating for Vue.js

    vue3 nuxt
  • Playback tracking

    How to track playback time via the API

  • Ad blocking bypass

    How to replace an advertisement link on the fly in case of blocking

  • Combined settings menu

    How to combine settings in one window

    menu settings options window speed quality
  • Custom switch

    How make a custom switch for any of the settings item

    settings switch slider
  • Replacing video and audio

    How to set up player to automatically affect standard video and audio

    install video tags
  • Promo videos

    How to show promo or intro video clips

    promo intro outro preroll
  • Context menu

    How to configure the right-click context menu

    right click context menu
  • Comparison of players

    How to compare the settings of two players

  • Displaying keystrokes

    How to display key compbinations pressed on the keyboard

    hotkey icons press shortcuts
  • Quizzes and polls

    How to set up custom survey in the player

    quiz survey poll
  • Geographic restrictions

    How to set up restrictions based on geolocation

    geolocation targeting country region
  • Ads geotargeting

    How to set up geotargeting for advertising

    geolocation targeting country region
  • Custom picture for an error handler

    How to display a special video or image in case of a playback error

  • Live countdown

    How to set up a countdown to the start of a live broadcast

    countdown timer live broadcast
  • Swipe rewind

    How to enable swipe rewind

    swipe seek
  • Variables in advertising links

    How to use placeholders for custom variables in ad links

    vars replace random
  • Limit ads based on domain

    How to enable or disable ads on certain domains

    ads domains disable enable
  • DASH subtitles

    How to show the embedded DASH subtitles

    embed subtitle dash
  • Sleep timer

    How to stop playback at a specific time

    sleep timer
  • Dropdown playlist

    How to implement a playlist as a drop-down list

    dropdown select
  • Managing ads via code

    How to change ads outside PlayerJS builder

    vast advertising
  • Toolbar under and outside the video

    How to prevent player toolbar from overlapping the video.

    toolbar under screen
  • Player interface localization

    How to change the language of the player interface

    localization language spanish french czech polish german
  • Advertising timeouts

    How to set timeouts for loading and displaying ads

  • Video scale

    How to customize the video zoom buttons in the player

    scale zoom
  • How to rename quality options

    Custom names for quality options in HLS & DASH

    ultra full 1080 720 hls dash
  • Custom VAST XML

    How to compile your own XML code for VAST advertising

    custom vast wrapper ads xml
  • Watermarks

    How to show transparent labels for content protection

    watermarks
  • AdBlock check

    How to determine if ads are being blocked

    adblock vast
  • Adaptive audio playlist height

    How to avoid scrolling in a playlist

    audio playlist height
  • Subtitle translation

    How to split the subtitles into words to display the translation

    subtitle translate words
  • Cloud hosting for video players

    How to use the player without hosting its file.

    cloud storage hosting iframe wix tilda
  • HLS subtitles

    How to display an embedded HLS subtitles and captions

    embed subtitle captions closed
  • Fullscreen in landscape mode

    Automatic fullscreen in landscape mode

  • Title template

    How to format a titles using templates

  • Floating player

    How to have the player position fixed when scrolling

    fixed scrolling fly mini stick
  • Parallel subtitles

    How to show multiple subtitles together

    subtitles shared together
  • Remove ads for a short content

    How to avoid showing advertising in a short videos

  • Effects

    How to adjust video effects (blur, monochrome, etc.)

    effects snow blur grayscale
  • Fonts

    How to manage fonts in the player and utilise Google Fonts

    google custom fonts
  • Advertisement breaks

    How to set pauses between ad impressions

  • Custom quality switch buttons

    How to make a separate button to switch quality HD or HQ

    quality button
  • Formatting playlists

    How to build a custom playlist layout (including pictures)

    format playlist thumbnails
  • Playlist memorization

    How to remember which files in a playlist was already played

    playlist memory
  • Pause button

    How to show the pause button in the center of the player on hover

    elements pause
  • Ad queue logic

    How the advertising queue works

    waterfall ads vast
  • Debug mode

    How to view player logs in browser console

    logs debug console error mobile ios android inspect
  • Copying player design

    How to copy the design of one player to another

    copy design
  • Sound channels

    How to separate the left and right channel in the player

    channels plugin
  • Marking up a content

    What are the ways to mark up content inside the player

    markup timestamp points events timeline chapters
  • AirPlay

    How to set up AirPlay support

    airplay
  • Content markup outside of the player

    How to make a table of contents based on time points

    timestamps
  • DVR

    How to show DVR live broadcasts

    DVR HLS DASH
  • HLS video format

    How to play m3u8 streams

    hls aes p2p program drm hls.js
  • Chromecast

    How to set up Chromecast support in the player

    chromecast plugins google
  • RTMP playback

    HTML5 players cannot play RTMP streams

    rtmp
  • Outside playlist

    How to move the playlist in the outer container

    playlist throw plugin
  • Download button

    How to add a download button

    download integration
  • Responsive interface

    Changing interface for the different player sizes

    clone copie duplicate resize interface elements
  • Floating player (PiP)

    Picture-in-picture mode for Webkit based browsers

    pip picture chrome collapse fix floating
  • Protecting content with the link variables

    How to use custom variables in a content links

    plugin
  • Getting started

    How to create your first player in the PlayerJS Builder

  • Player copy

    How to copy your player to another account

    copy player other account
  • Playback speed

    How to set a playback speed selection

  • Transparent background

    How to make the player background transparent

    transparent pro
  • Radio

    How to show info from radio metadata

    radio tags metadata audio
  • Play on hover

    How to launch the player on hover

    playback hover
  • Background video

    How to use the player as a page background

    background video cover stretch scale
  • Custom background for the toolbar

    Horizontally repeated bitmap for the toolbar background

    background toolbar
  • Playing Vimeo

    How to play video from a popular video hosting

    vimeo
  • Positioning of the UI elements

    How to place an interface element at the desired location

    margins elements position
  • Access password

    How to set a password to access the player content

    password access
  • How to limit playback time

    The player can cut a part of the content anywhere on the timeline.

    playback starting finish duration limit remove end start continue
  • Custom ID for the player elements

    How to assign an ID to any button to control it from outside of the player.

    dom pro logo css
  • Second stream

    How to play two video/audio streams simultaneously in one player

    pip soundtrack
  • Saving playback position

    How to memorize playback position for returning users

    memorize time remember memory continue
  • YouTube playback

    How to play video from the most popular video hosting

    youtube quality codecs integration
  • How to track the visibility of the player

    The player can monitor its visibility on the page

    visibility api
  • Hotkeys and gestures

    Keyboard shortcuts and gesture settings for touchscreens

    hotkeys rewind seek volume scale full shortcuts
  • Native controls on mobile platforms

    Switching to the system UI on mobile platforms

    native controls playback iphone
  • Muted autoplay

    What to do if browser prohibits autoplay with sound

    muted autoplay playback
  • Mid-roll ads

    How to schedule mid-roll ad breaks

    midroll
  • Playback errors

    Understanding the playback errors.

    error request playback not found network decode dont
  • Limitation of advertising

    How to set the desired amount of ads

    vast limits
  • Sound volume

    How to control sound volume

    volume sound amplify gain
  • Text labels

    How to show your text labels in the player

    label text code
  • Custom drop-down lists on the toolbar

    How to make a separate dropdown list of options for any setting

    select quality drop subtitles
  • Ad skip button

    How to set the timing of the ad skip button

    skip ads
  • Settings window

    How the selection of quality, subtitles, etc. is displayed

    settings menu quality
  • Shuffle mode

    How to set up a random play in the playlist

    random shuffle
  • Player on HTTPS domains

    Specifics of content downloading on secure domains

    https ssl
  • What to do if video ads don't work

    How to use a browser console to learn the cause of ad failures

  • Poster

    How to pass a poster in the player code

    poster,image,picture
  • How to change the design of the player on the fly

    Dynamic way to update player design via API

    integration api design switch
  • Commands and requests JS API

    How to control the player via JavaScript and request data

    api javascript jsapi postmessage iframe
  • Privacy policy

    PlayerJS privacy policy

    legal
  • How to embed the player in an iframe

    How to integrate the player in a separate iframe page

    integration embed share
  • Fallback sources

    How to switch playback to a spare link in case of an error

    alternative balancer integration failback primary reserve backup duplicate
  • Terms of Service

    Formal contract between user and PlayerJS service

    legal license
  • Audio Tracks

    How to switch audio tracks

    audiotracks plugins
  • Combining multiple players into one

    A way to place several different players on the same page

    integration change design different
  • Thumbnails

    How to show frames of the video when hovering over the timeline

    pop-up picture frames preview plugins thumbnails php
  • Google Analytics

    How to collect statistics of various player events

    plugins ga galabels
  • Custom buttons and elements

    How to create your own buttons and labels in the player

    pro logo elements buttons
  • Search in playlist

    Searching for files in playlist via the player interface or API

    plugins
  • Embed code and social sharing

    How to share the player code or link in messengers and social networks

    embed code iframe share webshare
  • Subtitles

    How to play subtitles in the player

    subtitle captioning subs vtt srt plugins
  • Screenshots

    How to take screenshots of videos using the player

    ja api api javascript screenshot snapshot
  • WordPress plugin

    How to embed the player to your WP website

    wordpress plugin
  • Cross-domain policy

    Features of loading files from different domains

    crossdomain cors integration
  • Playlists

    How to create a JSON playlist

    playlist related series plugins m3u start redirect
  • JS API events

    How to catch video player events via JavaScript

    api javascript jsapi events postmessage iframe
  • Player integration

    How to embed the player to your web site

    integration embed code async
  • Codecs support

    What video and audio codecs does the player support

    html5 codecs mp4 hls dash flac
  • Autoplay

    How to set up autoplay

    autoplay playback
  • Player size

    How to set the desired player size and adaptability

    size width height integration embed code aspect ratio
  • Quality selector

    How to set up a choice of quality options in the player

    quality
  • AdvertisingAnalyticsAPIAudioCodecsDASHElementsHLSHotkeysIntegrationLegalLogoMobilePlaybackPlaylistPluginsPosterPROQualityshareSubtitle

    Getting startedAdd a player to your websiteJavascript API

    Docs - PlayerJS - Create HTML5 player for your website (2025)

    References

    Top Articles
    Latest Posts
    Recommended Articles
    Article information

    Author: Greg Kuvalis

    Last Updated:

    Views: 6385

    Rating: 4.4 / 5 (75 voted)

    Reviews: 82% of readers found this page helpful

    Author information

    Name: Greg Kuvalis

    Birthday: 1996-12-20

    Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

    Phone: +68218650356656

    Job: IT Representative

    Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

    Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.