As you can see in comments section of my question, «birgire» had suggested to a user of his plugin to change the google drive direct link as follow so that It can be recognized an played in the WordPress playlist:
A normal google drive direct link is something like this:
If you ...
There are two possible solutions depending on what kind of relationship you expect to have with the people that use the plugin.
Instruct them how to create an app and which URLs to use to be compatibe with what you expect in the plugin, have a setting page at the wordpress admin in which they can either upload the secrets file or configure the app secrets.
You have a couple of options -
Install a plugin that adds GTM for you. This makes it very easy, but it does add another plugin to the site. Site Kit supposedly slows down a site more than you would expect.
Make a copy of header.php and put it in your child theme folder. Now you can make edits to this file without the edits being overwritten when the parent ...