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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pauloamgomes created an issue. See original summary.

heshanlk’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

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.

heshanlk’s picture

Status: Active » Needs review
pauloamgomes’s picture

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

heshanlk’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.