We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Help, Can anybody help me add youku to the class video provider? | Forum

ustc
ustc Sep 28 '13

The video address as follow show.

http://v.youku.com/v_show/id_XNjE0Mzc0Mzcy.html?f=20195124&ev=2

http://v.youku.com/v_show/id_XNjE0MjA4NzM2.html


how can i make it works like youtube, the youtube is forbidden in china....

Attachments:
  class video provider.JPG (28.77Kb)
Daisy Team
Daisy Oct 1 '13
Does this video service allow to grab the video code and embed it onto the site?
ustc
ustc Oct 1 '13
No, it doesn‘t work, i hope the next 1.6 could include the famous video sites, like youku, tudou, sina...
Daisy Team
Daisy Oct 11 '13
ustc, the code you've provided is incorrect. You simply copied the function for Youtube resource and changed the 'youtube' value to 'youku'.

Let me explain, the function in the attached file allows our system to grab the thumbnail for the video. If you take a closer look at the functions in the video_providers.php file, you will see that each resource has its own unique method of storing and accessing the thumbnail images. Thus, if you want to grab the video thumbnails, first you should make sure that this service allows to do that and then add a special rule which system will use to grab the images.
ustc
ustc Oct 11 '13
Yes, you are right, the rule is wrong, and I'm not very sure if the site allow to do that.<br/>
The Forum post is edited by ustc Oct 11 '13
KreativMind
KreativMind Oct 11 '13
That would be nice to be able to add different ones, however, we will have to see how youku is handling the functions and if it's allowed.