3 | | http://www.youtube.com/watch?v=LBDtqdOG4Uc |
| 3 | Use [wiki:collective.embedly collective.embedly package] to easily embed video files from youtube to your Plone 4 site. For this: |
| 4 | |
| 5 | 1. Go to your site HTML Filtering panel (/@@filter-controlpanel) and remove '''embed''' and '''object''' tags from the list of ''Nasty Tags'' and add them to the list of ''Custom Tags'' |
| 6 | |
| 7 | 2. Go to the object's edit form, select some text and choose "Embedly link" style for it |
| 8 | 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. |
| 9 | 4. Select this text again and go to ''Insert link'' to insert the URL to the desired object on !YouTube, e.g. http://www.youtube.com/watch?v=LBDtqdOG4Uc |
| 10 | 5. Save this page. |
| 11 | |
| 12 | Now when rendered, there will be "preview" from embed.ly service inserted instead of the linked text: |
| 13 | |
| 14 | [[Image(youtube.png, nolink)]] |
| 15 | |