javascript - Videojs-vast-vpaid ad control buttons -


please, help! have video.js v4.12.11 , videojs-vast-vpaid plugin. need control buttons "skip ad", "go site", "close ad". checked xml - have such information. example

<extension type="skiptime"><![cdata[00:05]]></extension> <extension type="skiptime2"><![cdata[00:05]]></extension> <extension type="linktxt"><![cdata[&#1087;&#1077;&#1088;&#1077;&#1081;&#1090;&#1080; &#1085;&#1072; &#1089;&#1072;&#1081;&#1090; &#1088;&#1077;&#1082;&#1083;&#1072;&#1084;&#1086;&#1076;&#1072;&#1090;&#1077;&#1083;&#1103;]]></extension> <extension type="isclickable"><![cdata[1]]></extension> 

and have such code:

"plugins": {         'ads-setup': {             "adsenabled": true,             "url": here url         }     } 

so ad shown. advertiser needs these buttons. tried find plugin has such options failed =( found has different trigger vast.adskip how can skip video?! oh yes! preroll video

i sure has little parameter , when set "true" work want. wroooong. don't have such functions. had add myself. part of problem plugin adds skip button if vast of 3rd version html. adfox works v.2 , send additional info in extention parameteres

  1. this issue helped me https://github.com/mailonline/videojs-vast-vpaid/issues/56
    i changed functions indieveed did.

  2. after changed , modified , added many functions.

    • add close button
    • add "go site" button
    • get links sending statistics additional (adfoxish) parameteres "extention" , send events these links

my thoughts easy way untrue. next time when more time i'll try change plugin


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -