From 54110f83582e3c6d12ee7ba3f09e4b116be87ffd Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Tue, 19 Feb 2019 01:05:59 +1100 Subject: Update build process --- demo/src/js/demo.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'demo/src/js/demo.js') diff --git a/demo/src/js/demo.js b/demo/src/js/demo.js index 02200cdc..afe3c0dc 100644 --- a/demo/src/js/demo.js +++ b/demo/src/js/demo.js @@ -58,18 +58,11 @@ import Plyr from '../../../src/js/plyr'; }, 10); }); - const userType = 'annon'; - const contentType = 'on-demand'; - const cmsid = 2490180; - const vid = 3788; - - const tagUrl = `https://pubads.g.doubleclick.net/gampad/live/ads?sz=640x360&iu=/21736521837/ovo/web&impl=s&gdfp_req=1&env=vp&output=vast&cust_params=usergroup%3D${userType}%26content-type%3D${contentType}&cmsid=${cmsid}&vid=${vid}`; - // Setup the player const player = new Plyr(selector, { debug: true, title: 'View From A Blue Moon', - iconUrl: 'dist/plyr.svg', + iconUrl: 'dist/demo.svg', keyboard: { global: true, }, @@ -83,8 +76,8 @@ import Plyr from '../../../src/js/plyr'; google: 'AIzaSyDrNwtN3nLH_8rjCmu5Wq3ZCm4MNAVdc0c', }, ads: { - enabled: true, // env.prod || env.dev, - tagUrl, + enabled: env.prod || env.dev, + publisherId: '918848828995742', }, previewThumbnails: { enabled: true, -- cgit v1.2.3