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.
As far as i know, when i add a Canadian Video in the URL provided by CCK video, from Google Video, it doesn't display the video.
However, if i grab a USA video, from the Google videos, it works!
Does it have to do with the URL ending in .ca??
Comments
Comment #1
Gianfilippo CreditAttribution: Gianfilippo commentedIt happens with Italian Google Video also. I have to swith the URL from video.google.it to video.google.com.
Comment #2
aaron CreditAttribution: aaron commentedi have to write new regex patterns for this. unfortunately, unless i can find a pattern that matches all the various international google services (which there might well be), and/or they open their api, we have to do each country on a case-by-case basis. it isn't too hard to do that, but i won't have time until next week, since i'm out of town.
aaron
Comment #3
Shane Birley CreditAttribution: Shane Birley commentedExcellent. I have been experiencing this issue as well. Any update or and address we need to send beer to?
Comment #4
extrabigmehdi CreditAttribution: extrabigmehdi commentedhi,
here's my solution.
In the file google.inc and look for the function video_cck_google_extract.
For convenience I copy the orignal lines:
Now replace the function with this one:
the patten will accept all domain like video.google.fr , video.google.ca etc....
i.e any domain made of letters like fr, ma, ca (up to 4 letters).
Note: I travel tomorrow, and might not be available this week (if you need an other reply).
Comment #5
aaron CreditAttribution: aaron commentedthanks, extrabigmehdi! got your patch in there, works great. i went ahead and expanded it so that the admin can also determine which server domain to serve the video from (and links), so they can be served from google.it, google.ca, etc. this can optionally be set at admin/content/video_cck now, although it's not necessary to be able to parse from videos in other domains.
Comment #6
(not verified) CreditAttribution: commented