External link to vjs.zencdn.net – video.js and video-js.css files
-
Hello there!
Issue No. 1:
We are using grid kit (premium) on our site and noticed that the plugin is establishing a connection to an external cdn to collect two files: video.js and video-js.css
The connection is hard-coded in your script enqueeu functions located in:
grid-kit-premium/portfolio-wp.php
The connection is made to the following urls:
vjs.zencdn.net/4.12/video-js.css
and
vjs.zencdn.net/4.12/video.jsSince we are not aware of the privacy policy of this external provider, we would prefer to self host these two files and are wondering if you could simply package these files with your plugin, instead of pulling them from a third party.
Alternatively we’d appreciate if these two code lines came with a filter function so we could modify the source without having to fiddle with your plugin files and be upgradesafe.
Issue No. 2:
Why is this plugin loading its scripts and styles on every page? Please rewrite your code so it loads needed js and css files only on pages where those scripts are actually needed.
Thanks
Saskia
- The topic ‘External link to vjs.zencdn.net – video.js and video-js.css files’ is closed to new replies.