Let's see how to get sharing link for Google Drive Player Advanced / Ultimate Script and also which type of sharing links supported.
Please make sure your file sharing settings is like this on google drive -
If your sharing setting is like this then any type of sharing link from google drive should work fine.
For google photos please follow below steps -
Turn on sharing
Copy the link and browse it via your web browser then it will show you a player like this
After that click on the player and once the next page loaded copy the link from your address bar and use it in Google Drive Player Advanced / Ultimate script.
If you still have issues or questions feel free to create a support ticket here.