joliclic code

[version française]



This little PHP class can retrieve server-side some oEmbed data provided by various online services, and forwarding them to the client.
Thus it possible to query XMLHttpRequest in JavaScript from a page, because the requested service is on the same server.

Included providers are Youtube, Dailymotion and Vimeo, but it is possible to extend the list (see example).

Example of use (source code) :

download oembed_proxy_1.0.tar.gz - 2011-05-01


the class is under thes Licence MIT.

Feel free to use it in your projects, free or commercial, and to modify it as you want.