Changes between Version 13 and Version 14 of collective.embedly
- Timestamp:
- Mar 2, 2011 10:06:43 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
collective.embedly
v13 v14 10 10 == Overview == 11 11 12 This package provides TinyMCE visual editor support for [http://api.embed.ly/docs embed.ly] service , so that media (audio, video, photo, ...) can be inserted to Plone from different services: video streaming services, audio resources, photo stocks, etc.12 This package provides TinyMCE visual editor support for [http://api.embed.ly/docs embed.ly] service: videos, images and other rich media files 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. 13 13 14 The approach here is to use the Transform machinery to replace the URL with embed code by calling the embed.ly API. 14 There are [http://api.embed.ly 204 services] so far that support embedly service, such as: 15 * video sharing sites: Youtube, Blip.tv, Vimeo, TED.com 16 * audio streaming services: Grooveshark, !SoundCloud, last.fm 17 * image/photo sticks: Flickr 18 * other: !GoogleMaps, Facebook, Twitter 15 19 16 20 == Usage == 17 21 18 1. Go to your site '''HTML Filtering''' panel (/@@filter-controlpanel) and remove ''embed'' and ''object'' from the list of '''Nasty tags''' and add them to the list of '''Custom tags'''. 22 To embed media from the embedly-supported external resource to Plone: 23 24 1. Go to your site '''HTML Filtering''' panel (/@@filter-controlpanel) and add tags that are used for embedding content from that external service into the list of '''Custom Tags''' and remove them from the lissts of '''Nasty Tags''' and '''Stripped Tags'''. These are usually such tags as ''embed'', ''object'', ''iframe'' and others. 19 25 20 26 2. Go to the object's edit form, select some text and choose "Embedly link" style for it … … 22 28 [[Image(style.png, nolink)]] 23 29 24 3. The text should now look like linked (TinyMCE makes the whole passage linked)25 4. Select this text again and go to ''Insert link'' to insert the URL to the desired object (e.g. ''!http://youtube.com/..'').30 3. 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. 31 4. Select this text again and go to ''Insert link'' to insert the URL to the desired object on the external service. 26 32 5. Save this page 27 33 28 34 Now when rendered, there will be "preview" from embed.ly service inserted instead of the linked text. 29 35 30 [[Image(page.png, nolink)]] 36 == Examples == 31 37 38 Let's consider adding links to objects on such sites as: 39 40 === 1. !YouTube on Plone === 41 42 http://www.youtube.com/watch?v=LBDtqdOG4Uc 43 44 [[Image(page.png, nolink)]] 45 46 47 === 2. blip.tv on Plone === 48 49 http://quintagroup.blip.tv/file/2074802 50 51 === 3. Flickr on Plone === 52 53 http://www.flickr.com/photos/quintagroup/3468489696 54 55 === 4. Google Maps on Plone === 56 57 http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=lviv&aq=&sll=49.85,24.016667&sspn=0.300621,0.617294&ie=UTF8&hq=&hnear=L%27viv,+L%27vivs%27ka+oblast,+Ukraine&z=12&iwloc=A 58 59 60