Open ryanthompson591 opened 4 years ago
The convention in the spec seems to be to add HTMLResource sub node for inline HTML, IFrameResource for a URL to html, and StaticResource for a url to an image/swf.
It would be nice to continue to use that, adding HtmlResource/IframeResource/StaticResource as a child node to <InteractiveCreativeFile>.
Responding to +1 this basically; would be useful in cases where we want to avoid an extra http request.
Just to leave a comment. This has come up in committee a few times and I think we were open to the idea.
The thoughts on it were. Negatives:
The pros were:
In short, I strongly oppose allowing HTML or any potentially functional elements injections into VAST. Doing so would defy three critical objectives:
I agree with the cons while disagreeing with the pros Ryan described.
<html><head><script/></head><body/></html>
markup. All magic happens on the server and application levels.To save on requests, can I inject bytecode along with bitmap data into my HTML, please? 😉
Currently the simid spec only allows a url resource that points to html.
A suggestion would be to allow the VAST to contain html code. This code could be injected into an iframe that renders as the SIMID ad.
Some reasons to do this: Assets could be selected server side to match the resolution and needs of the requester device.
Some issues: What if the VAST is too big? What if there is more latency because caching doesn't work? Since the html is injected does the allow XSS attacks to happen?