{ "info": { "author": "JeanMichel FRANCOIS aka toutpt", "author_email": "toutpt@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Plone :: 4.0", "Framework :: Plone :: 4.1", "Programming Language :: Python" ], "description": "Introduction\n============\n\nThis addon register the jquery plugin oembed_ in the Plone resource registry.\n\nVersion: 1.1.0 RC\n\nHow to use jquery.oembed\n========================\n\nExplicit example::\n\n \n
\n\nImplicit example::\n\n \n \n \n\nConfiguring multiple providers example\n--------------------------------------\n\n::\n\n \n \n \n\nSupported OEmbed providers\n--------------------------\n\n* 5min\n* Amazon Product Images\n* Flickr\n* Google Video\n* Hulu\n* Imdb\n* Metacafe\n* Myspace Videos\n* Qik\n* Revision3\n* Screenr\n* Slideshare\n* Twitpic\n* Viddler\n* vVimeo\n* Wikipedia\n* WordPress\n* YouTube\n\nThis javascript plugin relays in 'jsonp', so only oEmbed providers that support\ncallback methods are directly implemented.\n\nAny other oEmbed provider uses embedly_ service.\n\nHow to manage providers\n-----------------------\n\n'greedy' option let you activate a fallback service to not natively supported\nservices, by default the service used is oohembed_.\n\nallowed providers::\n\n $(\".oembed\").oembed(null, { allowedProviders: [\"flickr\", \"youtube\"] });\n\ncustom providers::\n\n $(\".oembed\").oembed(null, {\n greedy: false,\n customProviders: [{\n \"name\": \"streetfire.net\",\n \"urlschemes\": [\"streetfire\\\\.net\\/video\\/.*\"],\n \"apiendpoint\": \"http://api.embed.ly/v1/api/oembed?\"\n }]\n });\n\ndisallowed providers::\n\n $(\".oembed\").oembed(null, { disallowedProviders: [\"flickr\", \"youtube\"] });\n\ndefault oembed provider::\n\n $(\".oembed\").oembed(null, {defaultOEmbedProvider: \"embed.ly\"});\n\nembeded method\n--------------\n\nappend::\n\n $(\".oembed\").oembed(null, {embedMethod: \"append\"});\n\nIt append to the .oembed container the result with a container classified::\n\n ...\n \n\nfill::\n\n $(\".oembed\").oembed(null, {embedMethod: \"fill\"});\n\nIt fill the link with the results::\n\n \n