Would it be possible to add this patch? It adds www. to the base_url in the MediaYouTubeStreamWrapper class. The address without the www. points to a 301 that redirects to http://www.youtube.com/watch, this patch fixes that.

Just a small thing i noticed.

CommentFileSizeAuthor
media_youtube_add_www_to_base_url.patch798 bytesRob C
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Devin Carlson’s picture

Status: Active » Needs review
Devin Carlson’s picture

Status: Needs review » Fixed

Tested #1 and confirmed that the original URL resulted in a 301 redirect and that the updated redirect no longer resulted in a redirect and still allowed videos to load and play properly.

Committed to Media: YouTube 7.x-2.x.

Rob C’s picture

Nice!

Status: Fixed » Closed (fixed)

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