I am trying to use ajax to 'embed' a youtube video on page.
I make my calls and put the responseText to the innerHTML. But the embed object does not appear.
I have verified that I can write to the div tag by ID (I pumped some straight text into it).
I have verified that the container page works properly by calling it from the address bar.
I have verified that the returned response text looks correct by popping it up in an alert and verifying the source against the address bar call.
I have tried both loading an entire page and just loading object HTML code.
Is this something that Ajax cannot do?