Only load CSS and JS files when needed?
-
Thanks for this great plugin! I haven’t run into any issues, I just have a feature request:
Could you make it so that the CSS file, JS file, and inline CSS only gets loaded on posts/pages that have the [video] or [videojs] shortcodes?
Also, they just updated to 4.1.0 last week:
https://github.com/videojs/video.js/blob/master/CHANGELOG.mdIt would be nice if the Video.js folks provided a URL that always pointed to the latest CSS and JS files. That way the CDN hosted version would always be up to date, and wouldn’t require a plugin update.
Thanks again!
http://ww.wp.xz.cn/extend/plugins/videojs-html5-video-player-for-wordpress/
The topic ‘Only load CSS and JS files when needed?’ is closed to new replies.