opening an array called url in window

sturessurf

New Member
I have called an array that gives me a url of the highest rendition of my brightcove video, I am trying to figure out the easiest and quickest way to open that url that I received in a window by an onclick. Is there any way I can href this url or what would you recommend?\[code\]var url;for (var i = 0; i < v.renditions.length; i++) { if (v.renditions.frameWidth >= 1248) { url = v.renditions.url; break; }}//renditions Metadata document.getElementById('divMeta.render').innerHTML = url;\[/code\]How can I make an html call for this code?
 
Top