In order to get 7.x-1.x-dev fully working, please try to apply this patch. It fixes two issues:
1. Thumbnail isn't working.
2. The link to video playing page on Youku isn't correct.

CommentFileSizeAuthor
#1 media_youku.patch1.55 KBandyhu

Comments

andyhu’s picture

StatusFileSize
new1.55 KB
nkruby’s picture

hi, even I use this patch, I still get 403 forbidden error, any idea about it?

andyhu’s picture

Hi nkruby, on which page you see the 403 error, can you please explain a bit?

ycshen’s picture

hi andyhu,

I have patch the first issue in #1460786: Youku thumbnail not working,
And in your patch, could you tell me where the function interpolateUrl() works.

@@ -40,4 +41,10 @@ class MediaYouKuStreamWrapper extends MediaReadOnlyStreamWrapper {
     }
     return $local_path;
   }
+
+  function interpolateUrl() {
+    if ($parameters = $this->get_parameters()) {
+      return $this->base_url . $parameters['v'] . '.html';
+    }
+  }
andyhu’s picture

Hi ycshen,

Do you mean where it's called? Sorry I couldn't remember it exactly. However you may check the api doc of the media module
API

This function can make sure that in the media list, if you click the media thumbnail, it will go to the youku page which the specific video will be played there.

Hope it would help

ycshen’s picture

hi andyhu,

thank you for your reply.
i have checked the api doc of the media module.
your patch works :)

Commit b0faafc on 7.x-1.x

ycshen’s picture

Status: Active » Closed (fixed)