whatsthis
Version:
Discover embedable content from URL's
13 lines (11 loc) • 316 B
JavaScript
;
/**
* Generate the iframe embed code.
*
* @param {String} src The source that we need to embed.
* @returns {String}
* @public
*/
module.exports = function embedframe(src) {
return '<iframe src="'+ src +'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
};