Youku is one of China's top online video and streaming service platform, it would be interesting if Video module can support it aside with current providers.

Comments

pauloamgomes created an issue. See original summary.

hypertext200’s picture

This is an example of how you should implement it https://github.com/heshanlk/Video-Provider-YouTube-Example. Checkout the Embed Video Field module too, it has a much more additional functionality than this module.

pauloamgomes’s picture

StatusFileSize
new2.88 KB

Following the current implementation for other providers like Youtube or Vimeo here is a quick patch that handles the integration. The only part that will miss is the remote thumbnail generation, since Youku API requires a client_id and currently module seems to not support specific configurations for video providers.

hypertext200’s picture

Status: Active » Needs review
pauloamgomes’s picture

StatusFileSize
new2.95 KB

Updated on previous patch with new regex (including Youku video page) and no protocol use on the embed url

hypertext200’s picture

Status: Needs review » Closed (won't fix)

@pauloamgomes We are not planning to add anymore providers to the core module so please follow the instructions here and create a separate module and host it so may be we can make use of your code.

See the example guide https://github.com/heshanlk/Video-Provider-YouTube-Example.