Olivia

Hey team, the release announcement for CWP 2.5 is here! You can read all about the changes that the developments teams have been working on to make improvements to content editing, file management, and more 😁https://www.cwp.govt.nz/updates/news/cwp-2-5-has-arrived/

👍 (3)
clarkepaul

A developer should be able to set the default dimensions you’d like to be used. I think the current default is 600px but this can be adjusted (default setting not adjustable by CMS admin). Your theme sounds like it has its own set of dimensions (prob best to get these matching).

👍 (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.

adrexia

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

👍 (1)
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)
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)

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)