Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When adding a riddle to an article, the corresponding AMP page does not show the Riddle correctly, only a poart of the riddle is shown.
The following screenshot shows the Riddle correctly shown in a normal article:
On the amp Page, the riddle is cut at the bottom:
Comment | File | Size | Author |
---|---|---|---|
Bildschirmfoto 2017-10-12 um 13.35.23.png | 909.16 KB | daniel.bosen | |
Bildschirmfoto 2017-10-12 um 13.36.26.png | 750.5 KB | daniel.bosen |
Comments
Comment #2
tjwelde CreditAttribution: tjwelde at Thunder commentedSimilar issue as with pinterest (https://www.drupal.org/node/2915694#comment-12303045)
Normally, a JS library finds out the correct height.
Since AMP iframe supports resizing (https://www.ampproject.org/docs/reference/components/amp-iframe#iframe-r...), we could implement a route for pinterest, which can be used as the iframe src and inside we calculate the correct height and let AMP resize the iframe.
Comment #3
chr.fritschAMP was removed from Thunder 6
Comment #4
osopolar… and apparently riddle integration too: #3244796: The module thunder_riddle is missing after upgrading from thunder 3 to 6.