• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 02.07.22, 23:50
  • Opened by: David Landouzy
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23502 - Widget AMP

Hi,

I would like to know why I don’t have all widgets like video presentations on AMP ?

Thank you

Comments

Fred 03 Jul 2022, 10:53

Hi, David.
There is just no such widget. Do yo want to add a video to your mobile page?

David Landouzy 03 Jul 2022, 13:09

Yes I wand to add video but I have only 10 widgets. In your video you have more, is it normal ?

Fred 03 Jul 2022, 15:00

What “your video” do you mean? Could you please give me a link?
We don’t have more widgets for AMP.

David Landouzy 04 Jul 2022, 08:34

Hi,

In attached screens of widget in documentation and screen of my BO

Fred 04 Jul 2022, 11:56

That is a screenshot of page builder we used for our theme (not AMP) over one year ago. AMP has it’s own widgets.
As I said, there is not video widget, but you can use HTML widget to add a video.
Just add following code into HTML widget

<amp-video controls width="640" height="360" layout="responsive">
  <source src="/videos/kitten-playing.webm" type="video/webm" />
  <source src="/videos/kitten-playing.mp4" type="video/mp4" />
</amp-video>

See more detailed information in the AMP official website https://amp.dev/documentation/components/amp-video/