How to install collective.portlet.oembed
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install collective.portlet.oembed
Lastest release
Introduction
This addon add a portlet which let you use the power of oembed. The portlet wait for an URL (required), maxwidth&maxheight (optional) and some display related options (same as static portlet)
This addon use collective.oembed oembed consumer so supported services are the same.
portlet add/edit form
- header (TEXT)
- remote_url (URI)
- maxwidth (INT)
- maxheight (INT)
- omit_boder (BOOL)
- footer (TEXT)
- more_url (URI)
Extra feature: Use jquery oembedall for rendering
This addon use by default collective.oembed to render the portlet. It means HTML code is generated server side. This can be achieved using javascript.
You can install collective.js.oembedall and set the 'collective.portlet.oebmed.rendering' configuration registry's record to 'collective.js.oembedall'
Credits
People
- JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>
Changelog
1.2.1 (2013-01-02)
- Add responsive option to portlet to be able to unactivate for some URLs like soundcloud which are already responsive.
1.2 (2013-01-02)
- Add collective.js.oembedall rendering option
- Add collective.oembed.jquery rendering option and activate it by default
- Activate responsive option managed by collective.oembed.jquery rendering
1.1 (2012-07-10)
- Now the portlet use superconsumer instead of consumer to support every services supported by collective.oembed
1.0 (2012-01-13)
- Adjust with collective.oembed 1.0 api
1.0a (2012-01-02)
- Initial release