How to Embed Playbuzz Items in Google AMP
How to Embed Playbuzz Items in Google AMP
Created by Benny Blanco
On Nov 9, 2017
Examples:
Playbuzz Item by plain url (without info, share-buttons, comments)
Playbuzz Item by item-id (can be found in the item’s embed code)
With optional parameters (info, share-buttons, comments):
Required Attributes
One of the following is required:
- src: The URL for the Playbuzz item. Can be any item URL taken from Playbuzz.com
- data-item: The item id for the Playbuzz item. Can be taken from the item’s embed code (at the item’s page at Playbuzz website)* in case both are present data-item will be used
Optional Attributes
- data-item-info (optional): Indicates whether to display data info, such as creation date, creator name, etc.
- data-share-buttons (optional): Indicates whether to display share buttons.
- data-comments (optional): Indicates whether to display users’ comments.
- common attributes: This element includes common attributes extended to AMP components.
Validation
See amp-playbuzz rules in the AMP validator specification.
Facebook Comments
These are 10 of the World CRAZIEST Ice Cream Flavors
Created by Tal Garner
On Nov 18, 2021