Skip to main content

TinyMCE visual editor support for embed.ly service

Project description

Introduction

This package provides TinyMCE visual editor support for embed.ly service: videos, images and other rich media can be inserted to Plone from different services through one API.

The approach here is to use the Transform machinery to replace the URL with embed code by calling the embed.ly API.

There are more than 200 services that support embed.ly service. These are such video sharing sites as Youtube, Blip.tv, Vimeo; such audio streaming services as Grooveshark, SoundCloud, last.fm; such image/photo stocks as Flickr, and many other: GoogleMaps, Facebook, Twitter, etc.

This product was developed by http://quintagroup.com for Plone collective, sponsored by Headnet ApS http://headnet.dk.

Usage

To embed media from the embedly-supported external resource to Plone:

  • Go to the object’s edit form, select some text and choose ‘Embedly link’ style for it.

  • The text should now look like linked. TinyMCE makes the whole passage linked, so keep in mind that the whole passage will later be substituted with embedded media.

  • Select this text again and go to Insert link to insert the URL to the desired object on the external service.

  • Save this page. Now when rendered, there will be “preview” from embed.ly service inserted instead of the linked text.

  • You can pass resize the embeded object passing ‘maxwidth’, ‘maxheight’ params. Example: http://www.youtube.com/watch?v=L1NPLlhFTVk&maxwidth=400&maxheight=300

  • Also ‘wmode’ and ‘callback’ are available. Consult embed.ly documentation for usage.

More about usage at http://projects.quintagroup.com/products/wiki/collective.embedly

Note

Supported Plone Version

  • Plone 4.0

Author

  • Volodymyr Cherepanyak

  • Roman Kozlovskyi

  • Serhiy Valchuk

Changelog

1.4 - Apr 26, 2011

  • URL parameters parsing algorithm updated

1.3 - Apr 05, 2011

  • maxwidth, maxheight, callback, wmode params support added

  • updated list of embedly services

1.2 - Mar 29, 2011

  • the embedly link now marked with icon and background in TinyMCE

1.1 - Mar 4, 2011

  • proper registration of embedly transformation done; does not clash with safe HTML transform from now on

1.0 - Mar 3, 2011

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.embedly-1.4.zip (29.3 kB view details)

Uploaded Source

File details

Details for the file collective.embedly-1.4.zip.

File metadata

File hashes

Hashes for collective.embedly-1.4.zip
Algorithm Hash digest
SHA256 1211e5a1e3fad1f5451f0c033ec0e2520d28557c1cbf0dc0ade3cb2017a94156
MD5 174831476757dd915211a739b9bc3df2
BLAKE2b-256 acfdcb37e8e26f70238a866357899245ffd654d1160ea734077dda9f7f99e411

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page