diff options
| author | Sam Potts <sam@potts.es> | 2019-02-19 01:05:59 +1100 | 
|---|---|---|
| committer | Sam Potts <sam@potts.es> | 2019-02-19 01:05:59 +1100 | 
| commit | 54110f83582e3c6d12ee7ba3f09e4b116be87ffd (patch) | |
| tree | c2c46f2683bd75a80623aa399770d3e1c3d2250d /demo/src | |
| parent | 522135adaf7cb395b7cfe313e63a6f3ae9b70eae (diff) | |
| download | plyr-54110f83582e3c6d12ee7ba3f09e4b116be87ffd.tar.lz plyr-54110f83582e3c6d12ee7ba3f09e4b116be87ffd.tar.xz plyr-54110f83582e3c6d12ee7ba3f09e4b116be87ffd.zip | |
Update build process
Diffstat (limited to 'demo/src')
| -rw-r--r-- | demo/src/js/demo.js | 13 | 
1 files changed, 3 insertions, 10 deletions
| 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, | 
