Download & Extend

Youtube Links with youtube.com/v/ Do Not Work

Project:Video Filter
Version:6.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Video Filter appears not to work with youtube links that contain styling in them. For example, [video:http://www.youtube.com/v/sfyB7S-bgeM&hl=en&fs=1&color1=0x402061&color2=0x9461ca&border=1] does not work. However, [video:http://www.youtube.com/watch?v=sfyB7S-bgeM] does work.

Is it possible for Video Filter to support youtube links like my first example? If not, does/will Video Filter incorporate colors and borders in the parameters? For instance: [video:url color:X border:X]?

Thanks!

Comments

#1

subscribing

#2

Sure, the module could support both Youtube link styles, and we could probably get styling support in there too. If someone has a patch, that's awesome, otherwise I'll take a look sometime later this week/next week.

#3

Version:6.x-2.4» 6.x-3.0-beta1
Component:Miscellaneous» Code
Category:feature request» bug report

The problem with the first url is that the pattern does not fit the regular expression used to detect youtube videos, this regexp looks for "youtube.com/watch?v" so "youtube.com/v/" wont be take as a youtube video.
I tryed to fix this adding another regexp in an array for the youtube codec but i must be missing something because i cant get the module to use the regexp for "youtube.com/v/".

#4

Title:Youtube Links with Styling Do Not Work» Youtube Links with youtube.com/v/ Do Not Work

#5

Status:active» postponed (maintainer needs more info)

How do you get a URL like youtube.com/v/XXX? I don't see any options for that on youtube.com.

#6

When you link your Youtube account with your facebook account and click on the Like button under the youtube video sends a link like youtube.com/v/xxxx.
This type of URL is for the full screen player, if you open a link like it it will not load the whole youtube page but only the player.

Example:
http://www.youtube.com/v/-CrQ9xiMfb4?version=3&feature=autoshare&autoplay=1

#7

Status:postponed (maintainer needs more info)» active

#8

Hi,

I've created a patch here http://drupal.org/node/1192166 that allows you to use the Share short links that YouTube creates at http://youtu.be. This is a nice workaround for the new /v rather than ?v structure and also for any videos that need to be embedded from playlists/accounts.

#9

Nice patch. In my case I have no control on what url is used since Im taking it stright from Facebook users streams as they publish it.

#10

Version:6.x-3.0-beta1» 6.x-3.x-dev
Category:bug report» feature request
Status:active» fixed

I've added support for URL's like http://www.youtube.com/v/sfyB7S now in both 6.x & 7.x.

#11

Thanks! :)

#12

Status:fixed» closed (fixed)

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

nobody click here