Our video publishing workflow exists primarily in the Media Manager console where we add captioning, images, etc. before preparing the video for publishing. Once published, we copy the video's slug/ID from the MM console to our clipboard, then we paste it into our Drupal node. This module expects a URL to the PBS video portal which requires an extra step — composing a new URL along with the slug copied from the Media Manager console (http://www.pbs.org/video/ + slug). It seems at least for us referencing Media Manager videos by their plain slug would be more convenient than using the PBS.org video portal address.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | allow_slugs-2918268-5.patch | 5.49 KB | jesss |
| #4 | allow_slugs-2918268-4.patch | 5.53 KB | jesss |
Comments
Comment #2
acrosmanThis makes sense to me to do.
I discussed this a little with @jesss and it seems like our two choices here would be to add a second widget that allows for the slug by itself or update the existing field widget to detect a slug vs a URL and handle them appropriately. I have a slight personal preference for one flexible widget instead of two focused options, but I can make an argument for both pretty well so it would be interesting to hear other thoughts.
Comment #3
acrosmanComment #4
jesss commentedThe attached patch adds logic to allow for either slugs or full URLs to be submitted through the existing widget.
Comment #5
jesss commentedUpdated the patch to be slightly cleaner.
Comment #6
acrosmanApplies and works.
Comment #8
jesss commented