All,
I'm trying to embed Youtube videos and SoundCloud audio clips into a CartoDB infoWindow. I'm trying to do this by simply using the {{embed}} column and entering it into the custom infoWindow html...
To see the result, click one of the two point features in the map:
Result Map:
SoundCloud embed code:
Youtube embed code:
Answer
The answer that @Javier provided in January was totally correct at that time, but now due to security restrictions inserting iframes inside the CartoDB Editor (infowindows or legends) is no longer supported.
In order to achieve it, you'd need to use CartoDB.js to create your customs infowindows. Besides this, make sure you disable "sanitizeTemplate" so that your scripts are not removed.
sanitizeTemplate: By default all templates are sanitized from unsafe tags/attrs
(e.g.