How to support China video site?


#1

Continuing the discussion from How can I implement a onebox myself?:

I have read this post completely and tried that function, but failed, can anyone give me a hand? Thanks.


(Jeff Atwood) #2

That post is out of date. Simply edit the onebox whitelist in site settings to whitelist these domains, if they support open graph or oembed.


#3

Yes, I have tried that, unfortunately, it seems they do not support open graph. But most Chinese people are using them, they are China youtube. Could you make some effort to implete this? I am really appreciate for that!


(Jeff Atwood) #4

What does this site say about those URLs?


#5

Test URL

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

Several hours ago, Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed return failed, but now the preview can be shown.
I added “youku.com” to “onebox domains whitelist”, is it right? Or I missed something?


(Jeff Atwood) #6

In order to test oneboxing you must paste the link on a line by itself, like this:

http://example.com

Doing it like this http://example.com will not work.


#7

All right, I have make it in seperate line already. Could you give me detailed configuration and verify it on your side?


(Jeff Atwood) #10

Well let’s see

Looks reasonable. I added youku.com to the whitelist, and the spinner fires when the URL is pasted, but it doesn’t onebox.

@techapj could you add this to your list? I suspect unicode issues perhaps? It does seem valid.


(bubill) #11

Also can’t show video . it show nothing when video url between <iframe> video url </iframe> OR <embed> video url </embed>
www.youku.com , youku.com added whitelist in the Onebox.


#12

Thank you. If you need more information, let me know please.


(Erick Guan) #13

@techAPJ Youku does not support oEmbed either open graph. You can’t even load their video page without JS support.

I’ll try it out.


(Arpit Jalan) #14

Onebox now supports Youku!

Thanks @fantasticfears :heart:


(Arpit Jalan) #15