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.

feita há 2 anos314 visualizações
1 Resposta
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 há 2 anos
  • The other thing to check is which format your video file is in. Not all browsers support the same video formats.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas