| | 5 | |
| | 6 | == Development == |
| | 7 | |
| | 8 | This product was developed by http://quintagroup.com for Plone collective, sponsored by Headnet company http://headnet.dk/. |
| | 9 | |
| | 10 | |
| | 11 | We want tinyMCE to support embed.ly so videos can be inserted from different video streaming services. |
| | 12 | |
| | 13 | Read about embed.ly here http://api.embed.ly/docs |
| | 14 | |
| | 15 | It would be cool if it could done as a package so we reuse it easily and are also welcome to release to collective. |
| | 16 | |
| | 17 | We expect to work like this |
| | 18 | |
| | 19 | 1) Mark text as link in TinyMCE |
| | 20 | 2) Go "insert link" and insert generated embed.ly or service - click save |
| | 21 | 3) Choose styling "Embed.ly" |
| | 22 | |
| | 23 | When rendered "preview" from service is inserted. |
| | 24 | |
| | 25 | Most of the code could probably be liften off from here: |
| | 26 | |
| | 27 | http://svn.headnet.dk/shiny/collective.issuu |
| | 28 | |
| | 29 | The approach here is to use the Transform machinery to replace the URL with embed code by calling the embed.ly api. |
| | 30 | |
| | 31 | Name? collective.embedly. |