Board Thread:Support Requests - Getting Technical/@comment-301511-20160514193709

Hi everyone I was wondering if someone could help me is it possible to use a template within Javascript, I know it's probably not but can't think of any way around it I have a frame loader that loads this video page from the BBC site but as the video url changes daily. I really need some solution that would allow me to change the code within the url this is what I tried below without success. I did think using a template page as it would bypass having to submit it for review each time.

$("#iframeloader-Preview-Video").replaceWith(' ');

Any suggestions would be greatly appreciated. 