View more context

 

null

Pretty sure it's not limited to Youtube/Vimeo either. Any video provider that supports oEmbed should work

MichalKleiner

Though there were some bugs related to the oembed feature like 500 errors when the video couldn’t be loaded…

null

That sounds like a lot of errors

👍 (1)
adrexia

Ahh, I figured you probably had custom layout/styling/behaviour on your youtube elements, but yeah content element + default embed should work for a lot of cases. 😄

Jen Geard

We do have custom styling and handling of transcripts, but right now I need a workaround that'll let me embed a particular Vimeo video in a News page (that won't accept the kinds of blocks we might otherwise use for a workaround). I can do this by embedding the video in Content via Media, and then using an Accordion for the transcript. (phew)

👍 (1)
Jen Geard

Media insertion works, but our version of it is very helpfully insisting on the dimensions it wants, despite asking me about the dimensions I'd like. I can cope this time, but I'm guessing there's a clash - possibly where the local theme overrides the generic media dimensions. (wry smile)

theruss

There's a bug with this feature FYI where the dialogue accepts dimensions, but the 3rd party image/video doesn't respect them in the frontend

👍 (1)
adrexia

Also, hard coded dimensions are often not a great idea unless it asks for responsive dimensions.

👍 (1)
Jen Geard

Totally agree. It looks as though somewhere in the code there's a set of dimensions for different viewport sizes, but the default dimensions for desktop don't match our default dimensions for desktop when we use our Video Element embed approach. I'm guessing the deep default is set up to support layouts with left and right columns, so it's smaller. But it fights back when you try to challenge it.