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.

Comments

grantdotlocal created an issue. See original summary.

acrosman’s picture

Category: Feature request » Task

This 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.

acrosman’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
jesss’s picture

Status: Active » Needs review
StatusFileSize
new5.53 KB

The attached patch adds logic to allow for either slugs or full URLs to be submitted through the existing widget.

jesss’s picture

StatusFileSize
new5.49 KB

Updated the patch to be slightly cleaner.

acrosman’s picture

Status: Needs review » Reviewed & tested by the community

Applies and works.

  • jesss committed 104ea2e on 7.x-2.x
    Issue #2918268 by jesss, acrosman: Simplify video embedding by...
jesss’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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