Youtube & Vimeo have oEmbed APIs but I don't want it to be default is it would make a JSON request for each one (and sometimes there are many videos on a page).
Add a oEmbed version (maybe with an attribute) which, with he help of some JavaScript shows the thumbnail which is then replaced with the iframe.
Summary of task
Youtube & Vimeo have oEmbed APIs but I don't want it to be default is it would make a JSON request for each one (and sometimes there are many videos on a page).
Add a oEmbed version (maybe with an attribute) which, with he help of some JavaScript shows the thumbnail which is then replaced with the iframe.