Video Embed in WordPress post showing error

0

I have uploaded video in my Amazon S3 account. When I am trying to embed it into a wordpress post then I am getting an error.

Media error: Format(s) not supported or source(s) not found

I have the following settings on my bucket as of now

  1. Access can be Public
  2. ACL disabled
  3. Bucket versioning disabled
  4. Default encryption disabled
  5. Object Lock disabled
  6. Object Ownership - Bucket owner enforced

Please suggest solution.

asked 2 years ago300 views
1 Answer
0

Can you tell us what warnings or errors you see in the browser console when loading the WordPress page that contains the embedded video? That may help provide some insight as to the root cause.

My guess is that the failure is the result of a cross-origin resource sharing (CORS) violation due to the fact that your webpage is hosted on a different domain than the video file. If this is the case, you can remedy the issue by configuring a CORS policy in Amazon S3. You can learn more about CORS and how to configure a CORS policy in the "Using cross-origin resource sharing (CORS)" section of the Amazon S3 docs.

profile pictureAWS
Kris
answered 2 years ago
  • The other thing to check is which format your video file is in. Not all browsers support the same video formats.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions