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.

preguntada hace 2 años314 visualizaciones
1 Respuesta
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
respondido hace 2 años
  • The other thing to check is which format your video file is in. Not all browsers support the same video formats.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas