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
AMP seems to be the hot new shit, so, well, let's provide a formatter which uses the built in AMP brightcove component.
Proposed resolution
This patch is build upon #2803173: Add a field formatter for the player
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | interdiff.txt | 807 bytes | dawehner |
#4 | 2817233-4.patch | 3.39 KB | dawehner |
#2 | 2817233-2.patch | 3.36 KB | dawehner |
Comments
Comment #2
dawehnerHere is a patch for it.
Comment #3
BoobaaComment #4
dawehnerThis fixes the actual rendering of the video
Comment #5
BoobaaHow do you plan to depend on AMP.module if at all? If I understand this correctly, this line could cause some problems if amp.module's library is unavailable. Or does this patch have a counterpart in amp.module?
Comment #6
dawehnerNote: You could just configure this formatter, if the module exists.
Comment #7
yce CreditAttribution: yce at Pronovix for BrightCove commentedSince it seems like google doesn't provide any advantages in the future using AMP, I would rather not include it in the module.
If anyone needs this, it should be possible to create an amp page with a custom template.
https://www.digitalphablet.com/google-kills-google-amp/
https://developers.google.com/search/blog/2021/04/more-details-page-expe...