YouTube provides it's own unique URL shortener (youtu.be). I t may be a good idea to support that url for embedding videos.

Example The video BElow has the following addresses provided by Youtube.

LONG: http://www.youtube.com/watch?v=bh-BwFNNAGc
SHORT: http://youtu.be/bh-BwFNNAGc

Currently the short address isn't supported.

The following patch adds that url pattern to the hook emvideo_PROVIDER_extract function (emvideo_youtube_extract).

Files: 
CommentFileSizeAuthor
#1 media_youtube_1045824.patch953 bytesarcaneadam

Comments

StatusFileSize
new953 bytes

patch file

Status:Active» Fixed

committed, thanks! in the future, please set the status to 'needs reviews' when there's a patch attached to an issue, so it will get more attention.

Status:Fixed» Closed (fixed)

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

Version:6.x-1.2» 7.x-1.0-alpha4
Status:Closed (fixed)» Active

sorry to open a closed issue, but this doesnt work in drupal 7 with media:youtube 7.x-1.0-alpha4

tnx dagomar

Status:Active» Fixed

Status:Fixed» Closed (fixed)

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