Skip to main content

Steps

1

Include PN Player resources in your website head tag

2

Create an element

In html body create reference element for player to load
3

Initialize player on the element

This loads video player on the pn-player element.

Setup Options

These are the options for configuring the layout and playback behavior of a player.
object[]
required
object
string
default:"playlist"
Playback mode: “playlist” — auto-plays all videos in sources; “multiple” — sources are multiple language/audio versions of the same video
string
Source of the video being played (e.g. PN Platform, Desktop)
string
Unique identifier of the user
string
Unique identifier for your integration ( you can find in dashboard)