Skip to content

Release 4.1888.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Oct 08:53
· 28 commits to latest since this release
556481e

Move AMP iframe and Psammead components to MediaLoader (#11994)

* AMP Iframe + externalEmbedurl constructor

* Update urlConstructors.ts

* Integration snapshot updates

* Test fix

* Logic updates

* Port over media Message component for AMP

* Type updates

* Placeholder styling

* base tests

* Remove ArticleMediaPlayer component

* Migrate PlayButton component

* Migrate Guidance component

* Snapshot updates

* Type updates + unit snapshots

* Simplify placeholder display state

* nextjs snapshot updates

* Fix AMP placeholder

* Add missing placeholderSrcSet prop

* Add correct translations for no JS messaging

* Translation updates

* noJs display fixes

* Some AMP layout fixes for portrait

* working but don%27t like it

* Remove nested ternary

* Default orientation to %27landscape%27

* More snapshot updates

* Update index.test.tsx.snap

* invert embedded checks

* Simplify landscape/portrait CSS

* Only set aspectRatio for certain media types

* More snapshot updates

* Add Storybook story for portrait player

* noscript image fix

* Simplify audio style selection and config

* Set aspect ratio CSS for classic skin only

* Update index.tsx

* Delete AVPlayer and MediaPlayer components

* Move Message up a level

* alias fix

* Remove media iframe related for ODTV/ODAudio

* Add AMP prop types

* Delete legacy Caption, psammead-caption and psammead-play-button

* Delete psammead-figure

* Delete old getEmbedUrl functions

* Update index.js