Loading New Playlists

Click on a button to choose a playlist and load it into the player!

License: All
Player Version:
Author: JW Player | GitHub
This demo includes:
  • load(playlist)
<script type="text/javascript">

//Define our three playlist arrays

var playlistOne = [{
"file": "//content.jwplatform.com/videos/iLwfYW2S-cIp6U8lV.mp4",
"title": "Road Trip"

var playlistTwo = [{
"file": "//content.jwplatform.com/videos/8TbJTFy5-cIp6U8lV.mp4",
"title": "Hiking on the Edge"

var playlistThree = [{
"title": "Surfing Ocean Wave"
"file": "//content.jwplatform.com/videos/tkM1zvBq-cIp6U8lV.mp4",
"image": "//content.jwplatform.com/thumbs/tkM1zvBq-720.jpg",
"title": "Surfers at Sunrise"
"file": "//content.jwplatform.com/videos/i3q4gcBi-cIp6U8lV.mp4",
"title": "Road Cycling Outdoors"

//Create a function to load a playlist var
function loadPlaylist(thePlaylist) {

Please Note: This player implementation is a Proof of Concept only provided to show the possibilities of the JW Player and Platform and should not be taken as an offer to create, edit or maintain custom integration or development.