At the moment the file entity title is the video id - it would be great to use the video title instead.
For media_youtube a patch is available: http://drupal.org/node/1368714
Based on this patch I have created a similar one for media_vimeo. It required to update the oembed API call a little bit - it seems that the current code is not working anymore.
Patch follows..
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | media_vimeo_1422980.patch | 7.48 KB | drewish |
| #1 | media_vimeo-set_title_of_file_entity-1422980-2.patch | 1.63 KB | valderama |
Comments
Comment #1
valderama commentedHere's the small patch.
Comment #2
KoCo commentedworks for me so far
thx
Comment #3
valderama commentedthe corresponding patch for media: youtube was comitted by dave reid, probably the maintainer of media: vimeo can do the same?
see: http://drupal.org/node/1368714
Comment #4
paulmckibbenLooks good!
I applied this patch without any issue. I verified that the title of the file entity is now set to the title of the Vimeo video, both when I use file/add/web, and when I use a file field + media selector on a node. Thanks for the good work!
Comment #5
paulmckibbenWe have two good reviews, no issues raised. I'm going to mark it RTBC.
Comment #6
drewish commentedOkay did some work to sort this out and clean up the streamwrapper and vimeo handler. I fixed the URLs we're generating so drupal_realpath works again. Then used the API call change valderama's pointed out.
Comment #7
drewish commentedAaron gave me commit access so I've pushed this fix up.
Comment #8
steinmb commentedWorks great! Thanx :)