I tried this:
How to embed videos from Google drive to webpage?
But it says: We're sorry. You can't access this item because it is in violation of our Terms of Service.
I tried this:
How to embed videos from Google drive to webpage?
But it says: We're sorry. You can't access this item because it is in violation of our Terms of Service.
Take a look at this solution: https://support.google.com/blogger/thread/1950766?hl=en
My guess as to why the link you posted doesn't work is because it doesn't actually have access to the file. You need permission to view the file - but if you use the embed code generated by Google Drive itself, this should work with the correct permissions.
you can access videos using something like:
<video ... src="https://www.googleapis.com/drive/v3/files/YOUR_FILE?key=YOUR_KEY&alt=media">
(replace YOUR_FILE
with the file ID and YOUR_KEY
with your API key)
But... it's not a great solution as it's slow and not really optimized for this usecase - you're better off using a regular web hosting service or Amazon S3 or similar to store the asset