Sorry to hear that your video player is not showing on your website. That’s not fun. The good news is, there is an easy-to-understand cause and an even easier fix.
Presto Player comes with built-in performance settings. Though these work great, some 3rd-party plugins or services could cause some issues here.
Thus, if you are using any caching or performance plugins on your website, they can cause issues. Likewise, if you are using a content delivery network (CDN), this can also create the same problems with videos.
So for starters, there is a simple setting you can toggle off in Presto Player in order to find the root of the problem. Please follow these steps:
Step 1 – Login to your website and navigate to Dashboard > Presto Player > Settings;
Step 2 – Next, click on the “Performance” tab;
Now, test your videos to see if they are working.
Accordingly, if videos are working now, it means there is some issue with caching or CDN on your website.
Caching or Performance Plugins
In this case, you should try to exclude the Presto Player JS file from concatenation.
The path to the file you want to exclude is:
Over time, we will automatically exclude this file for the most widely used caching and performance plugins. We are already doing this for WP Rocket but with so many plugins available, you may need to create a manual exclusion.
Won’t excluding the Presto Player script from concatenation negatively impact performance? The short answer is no, it won’t, and in many cases, it may improve your page load speed and scores. The reason for this is most websites are running something called http2. It’s best practice in http2 NOT to concatenate scripts.
Content Delivery Networks (CDNs)
While this is easy to do with some CDN’s such as Bunny Net, it may require you to send an email to your CDN provider. We see this mostly with web hosting companies that automatically add a CDN and don’t provide an interface to change the settings. For example, WPEngine and GoDaddy do this and require you to send in a support request.
If you are using Cloudflare for your CDN the CORS setting is enabled by default.