{ "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
Flickr Image
\n
Vimeo Video
\n\nConfiguring multiple providers example\n--------------------------------------\n\n::\n\n \n
Vimeo Video
\n
Flickr Image
\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
...
\n
\n\nreplace::\n\n $(\".oembed\").oembed(null, {embedMethod: \"replace\"});\n\n\nIt replaces the link with the html snippet\n\nmanage size\n-----------\n\nYou can add a size constraint to the html snippet. You can set maxWidth and/or\nmaxHeight::\n\n $(\".oembed\").oembed(null, { \n maxWidth: 400, \n maxHeight: 300 });\n });\n\n\n\nCredits\n=======\n\nCompanies\n---------\n\n|makinacom|_\n\n * `Planet Makina Corpus `_\n * `Contact us `_\n\n\nAuthors\n\n - JeanMichel FRANCOIS aka toutpt \n\n\n.. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif\n.. _makinacom: http://www.makina-corpus.com\n.. _oembed: https://code.google.com/p/jquery-oembed\n.. _embedly: http://embed.ly\n.. _oohembed: www.oohembed.com\n\nChangelog\n=========\n\n1.0a (2012-01-02)\n-----------------\n\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/collective.js.oembed", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.js.oembed", "package_url": "https://pypi.org/project/collective.js.oembed/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.js.oembed/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/collective/collective.js.oembed" }, "release_url": "https://pypi.org/project/collective.js.oembed/1.0a/", "requires_dist": null, "requires_python": null, "summary": "JQuery oembed plistred in the Plone resource registry", "version": "1.0a" }, "last_serial": 787903, "releases": { "1.0a": [ { "comment_text": "", "digests": { "md5": "303ca0e6c1d06176c03b08d8de08e22d", "sha256": "f1d984a2cb5071e8bca1ce259cf593ee21130ba4805ea3be0e10295fd7c906ff" }, "downloads": -1, "filename": "collective.js.oembed-1.0a.tar.gz", "has_sig": false, "md5_digest": "303ca0e6c1d06176c03b08d8de08e22d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12185, "upload_time": "2012-01-02T17:29:01", "url": "https://files.pythonhosted.org/packages/17/2e/4eab04a90c6189a508fba4bd54c9937240d93d48571b38eb1b2e708b3f57/collective.js.oembed-1.0a.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "303ca0e6c1d06176c03b08d8de08e22d", "sha256": "f1d984a2cb5071e8bca1ce259cf593ee21130ba4805ea3be0e10295fd7c906ff" }, "downloads": -1, "filename": "collective.js.oembed-1.0a.tar.gz", "has_sig": false, "md5_digest": "303ca0e6c1d06176c03b08d8de08e22d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12185, "upload_time": "2012-01-02T17:29:01", "url": "https://files.pythonhosted.org/packages/17/2e/4eab04a90c6189a508fba4bd54c9937240d93d48571b38eb1b2e708b3f57/collective.js.oembed-1.0a.tar.gz" } ] }