diff --git a/src/echo.js b/src/echo.js index f307e8f..b70f31c 100644 --- a/src/echo.js +++ b/src/echo.js @@ -71,7 +71,7 @@ }; echo.render = function () { - var nodes = document.querySelectorAll('img[data-echo], [data-echo-background]'); + var nodes = document.querySelectorAll('img[data-echo],iframe[data-echo],[data-echo-background]'); var length = nodes.length; var src, elem; var view = {