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.

posta 2 anni fa314 visualizzazioni
1 Risposta
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
con risposta 2 anni fa
  • The other thing to check is which format your video file is in. Not all browsers support the same video formats.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande