China Video Block

Wordpress Plugin
Download latest - 0.2.5

Developers

cjyabraham

Download Stats

Today 1
Yesterday 3
Last Week 42
All Time 1,830



Releases (6 )

Version Release Date Change Log
0.2.5 2021-07-29

Fixes PHP Notice "Trying to access array offset on value of type bool" WordPress 5.8 compatibility

0.2.4 2020-07-08
  • loads the front-end script using wp_enqueue_script() only when the block is present on the page
0.2.3 2020-01-08
  • fixed the ver number on the script so that the block doesn't keep breaking
0.2.2 2020-01-05
  • added a browser-busting version querystring for the front.js file so that browsers download the new file when it updates
0.2.1 2020-01-04
  • added compiled build file
0.2.0 2020-01-04
  • rewrite of the code to favor the China video; the problem was that, when favoring the non-China video, it would produce a failed request for users in China since it was loaded on page load before being changed to the China video
  • when the ipinfo call produces and error, no cookie value is now set so that the call can be tried again during a subsequent page load