Hi,

This is a feature to retrieve the video title from the source.

To use the video title as a Metadata Attribute, you get use this patch for the module video_embed_field :
https://www.drupal.org/project/video_embed_field/issues/2913925#comment-...

This can also be an inspiration to get other values from the Oembed datas :
https://developer.dailymotion.com/player#player-oembed

Comments

pierre-nono created an issue. See original summary.

pierre-nono’s picture

StatusFileSize
new865 bytes

And here is the patch for video_embed_dailymotion.

anfor’s picture

Status: Active » Needs work

My two cents to your work.

pierre-nono’s picture

StatusFileSize
new1.12 KB

Thanks for the help.

  • Dailymotion API : Not really more simple, but as efficient. However it's not aligned with the others Providers. But since it cost nothing to add a method to get it, I add one in the new patch.
  • HTTPS over HTTP : Yes, you're right. Fixed in the new patch.
  • The check for a correct video ID is done in the /video_embed_media/src/Plugin/media/Source/VideoEmbedField.php

Oh and I make a new patch here : https://www.drupal.org/project/video_embed_field/issues/2913925#comment-...
Make sure to use : https://www.drupal.org/files/issues/2018-03-14/retrieve-title-2913925-4....

anfor’s picture

Assigned: pierre-nono » Unassigned

Some work are needed to reflect the changes in the other issue : https://www.drupal.org/project/video_embed_field/issues/2913925#comment-...

And the annotation of the method getDailymotionApi must be fixed.

mably’s picture

Status: Needs work » Fixed

Fixed in 3.0.0-beta1 using the Dailymotion oEmbed JSON data.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.