Important: this documentation is not applicable to your currently selected format stories!
Displays a Dailymotion video.
<script async custom-element="amp-dailymotion" src="https://cdn.ampproject.org/v0/amp-dailymotion-0.1.js"></script>
With responsive layout, the width and height from the example should yield correct layouts for 16:9 aspect ratio videos.
<amp-dailymotion data-videoid="x2m8jpp" layout="responsive" width="480" height="270" ></amp-dailymotion>
|autoplay||If this attribute is present, and the browser supports autoplay:
|data-videoid (required)||The Dailymotion video id found in every video page URL. For example, |
|data-mute (optional)||Indicates whether to mute the video.
|data-endscreen-enable (optional)||Indicates whether to enable the end screen.
|data-sharing-enable (optional)||Indicates whether to display the sharing button.
|data-start (optional)||Specifies the time (in seconds) from which the video should start playing.
|data-ui-highlight (optional)||Change the default highlight color used in the controls.
|data-ui-logo (optional)||Indicates whether to display the Dailymotion logo.
|data-info (optional)||Indicates whether to show video information (title and owner) on the start screen.
|data-param- (optional)|| |
All data-param- attributes are added as query parameters to the src value of the embedded Dailymotion iframe. You can use this attribute to pass custom values not explicitly declared.
Please read Dailymotion's video player documentation to know more about parameters and options.
|common attributes||This element includes common attributes extended to AMP components.|
See amp-dailymotion 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