Using HTML5 Banners instead of GIFs
Hi all, this isn't specifically related to Wordpress, but couldn't find a better category.
I've been struggling with the new HTML5 banners for a while, as typically I've always used GIFs, either self-hosted or direct links to the backends.
However, with the growing number of affiliate programs using HTML5 banners I think it's time to start adopting this approach.
My issue is that I have always auto-generated deals around the website, with the code reading from one config file/database where the various operators and their links, banners, attributes etc are stored, so I only have to change settings in one place, and the changes automatically appear around the site.
This is easy with GIFs, because you can just enter the URL to the image (whether internal or external) and the website code will spit it out in an `<img>` tag.
But, with HTML5 banners, this isn't possible as they are served either by a `<script>` or an `<iframe>`.
How do you manage HTML5 banners?
Also, how do you get them to respond to changes in the viewport size i.e. get them to be mobile responsive?