Important: this component does not support your currently selected format email!
Embeds BeOpinion content.
|Supported Layouts||fill, fixed, fixed-height, flex-item, nodisplay, responsive|
amp-beopinion component allows you to embed BeOpinion content in your AMP page for a given BeOpinion account. BeOpinion is a tool for content creators to add interactive blocks such as polls and quizzes to their pages. BeOpinion mostly works with journalists of major media groups in Europe.
<amp-beopinion width=375 height=472 layout="responsive" data-account="589446dd42ee0d6fdd9c3dfd" data-content="5a703a2f46e0fb00016d51b3" data-name="content-slot"> </amp-beopinion>
<amp-ad width="300" height="220" type="beopinion" layout="responsive" data-account="589446dd42ee0d6fdd9c3dfd" data-name="slot_0" data-my-content="0"> </amp-ad>
BeOpinion does not currently provide an API that yields fixed aspect ratio for embedded contents. Currently, AMP automatically proportionally scales the content to fit the provided size, but this may yield less than ideal appearance. You might need to manually tweak the provided width and height. Also, you can use the
media attribute to select the aspect ratio based on the screen width.
An element marked with a
placeholder attribute displays while the content for the content is loading or initializing. Placeholders are hidden once the AMP component's content displays. An element marked with a
fallback attribute displays if
amp-beopinion isn't supported by the browser or if the content doesn't exist or has been deleted.
Visit the Placeholders & fallbacks guide to learn more about how placeholders and fallbacks interact for the
|data-account (required)||The ID of the BeOpinion account (page owner).|
|data-content (optional)||The ID of the BeOpinion content to be displayed on the page.|
|data-name (optional)||The name of the BeOpinion slot on the page.|
|data-my-content (optional -
|common attributes||This element includes common attributes extended to AMP components.|
See amp-beopinion rules in the AMP validator specification.
You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.Go to Stack Overflow Found a bug or missing a feature?
The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.Go to GitHub