View more context

 

null

^^ That one appears in like every pentest I get to review 😄

cheddam

Hi all! CWP 2.5.0 has been released, and the changelog is now available on the CWP website: https://www.cwp.govt.nz/developer-docs/en/2/releases_and_changelogs/cwp_2.5.0/

We'll be following up with a full release announcement on the CWP blog in the new year. Happy holidays 🙂

👍 (2) 😍 (1)
Jen Geard

Hi All. Is there an off-the-shelf Video Element for CWP 2 that supports embedding from video hosts other than YouTube? We need to be able to support occasional Vimeo embeds as well, and it looks like what we've got is custom coded for YouTube.

adrexia

There are video elements out there. Or your current element could be extended to support vimeo. It would also be simple enough for a dev to make an element that uses something like embed (https://github.com/gorriecoe/silverstripe-embed). But there would be a certain amount of frontend involved in integrating most options (depending on the current setup)

Show 1 attachment(s)
gorriecoe/silverstripe-embed

Adds embed and video a dataobject along with dataextension to apply embed to existing objects.

Hide attachment content
null

@Jen Geard Vimeo support is built-in to the WYSIWYG editor. Use the "Insert Media" button

Jen Geard

@null Thank you. I'd been so distracted by our content blocks that I'd forgotten the basics. 🙂

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