javascript embed video code example
Example: embed video by javascript
var obj = {"video": {
"value": "<iframe title='YouTube video player' type=\"text/html\" width='640' height='390' src='http://www.youtube.com/embed/W-Q7RMpINVo' frameborder='0' allowFullScreen></iframe>"
}}
document.write(obj.video.value);