2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
2
First of all, your demo-video.php page is just another HTML page. I can only see an HTML file embedded in another HTML file via iframe.
I'm not sure where you have hosted this HTML page but The Same Origin Policy prevents you from interacting with content loaded into an iframe from a different domain.
Two possibilities that you need to check:
- In order to work, you need to add CORS for the S3 bucket where you have stored all your videos.
- If you restrict viewer access settings in CloudFront, then viewers must use CloudFront signed URLs or signed cookies to access your content.
répondu il y a 2 ans
1
Thanks for the clues. Number two was the correct answer. I clicked the setting without understanding. All better now.
John Ullom
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
Do you see any output in the browser console that might indicate a problem?
If you load the PHP file directly in the browser (instead of into an iframe) does the video load as expected?