Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like you to consider adding support for video and video thumbnail image URLs.
I am creating a social video site, and using tokens for Open Graph (metatag) thumbnail image URLs would be really handy.
Open Graph and/or Meta tags would be one great potential usage area, which is not directly part of the Video module itself, but I provided as an example.
Comment | File | Size | Author |
---|---|---|---|
#5 | 1737252-5-horrible-awful-code.patch | 5.66 KB | thsutton |
#4 | 1737252-4-horrible-awful-token-support.patch | 4.55 KB | thsutton |
Comments
Comment #1
michael.k CreditAttribution: michael.k commentedThis is a great idea. Any support for structured metadata info is super helpful.
Comment #2
Plankenkoorts01 CreditAttribution: Plankenkoorts01 commentedAre you (or is anybody else) any further on this already?
Comment #3
thsutton CreditAttribution: thsutton commentedI'm going to have a go at this today.
Comment #4
thsutton CreditAttribution: thsutton commentedHere's a first cut. It's horrible, awful code (and tested on 7.x-2.9 not HEAD) but seems to do useful things.
Things it needs:
I'll try to do a bit more work on this over the weekend.
Comment #5
thsutton CreditAttribution: thsutton commentedPrevious patch only processed sub-tokens (like [node:field_video:thumbnail:url]) in the presence of their parent (e.g. [node:field_video:thumbnail]). This patch fixes that.
Comment #6
newtoidsubscribing
Comment #7
newtoidPatch worked like a charm, however it seemed to stop the ability to upload videos
Comment #8
RaulMuroc CreditAttribution: RaulMuroc commented+1 on that!
Comment #9
brycefisherfleig CreditAttribution: brycefisherfleig commentedSince this seems to be stopping video uploads, looks like this still needs work.
Comment #10
BiigNiick CreditAttribution: BiigNiick commentedAny more movement on this or a solution? I've run into this issue too.