Apple News now supports video embedding from Dailymotion.
As an Apple News publisher, you can publish videos in your articles using the new component object: embedwebvideo or embedvideo
Embed your Dailymotion content with Apple News
In order to embed a Dailymotion video in your articles, you'll have to use the embedwebvideo component provided by Apple.
You can find all the properties related to the embedwebvideo component directly on the Apple developer documentation.
From this component, you will have to define the role and the url properties:
Property | Value |
---|---|
role |
Always |
url |
The URL of the embeddable video to display. The Dailymotion embed |
Best practices
We encourage you to use a dedicated player ID to easily customize your player experience and track the traffic coming from Apple News.
To create your player and easily find your player IDs, we invite you to read our player management article
Integration code sample
{
"components": [
{
"role": "embedwebvideo",
"aspectRatio": 1.777,
"URL": "https://geo .dailymotion .com/player .html?video=x84sh87",
"caption": "Dailymotion demo video",
"accessibilityCaption": "Dailymotion - the home for videos that matter"
}
]
}