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.

gefragt vor 2 Jahren314 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren
  • The other thing to check is which format your video file is in. Not all browsers support the same video formats.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen