Jump to content

Search the Community

Showing results for tags 'swiffy'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Using and Managing Revive Adserver
    • Documentation
    • Using Revive Adserver
    • Managing Revive Adserver
    • Bugs
  • Advanced Topics
    • Performance, Scalability, and Reliability
    • For Developers
  • Revive Adserver Community
    • Revive Adserver Project News and Announcements
    • Feature Requests
    • Plugins
    • Requests for Consulting
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL

Found 3 results

  1. Hi, Here is some javascript to easy have click count with swiffy ads inside an iframe. In Revive adserver : create HTML Generic Banner, replace [URL_OF_YOUR_HTML_SWIFFY_FILE] with the url of your swiffy html file. We give clickurl with magicmacro <iframe src="[URL_OF_YOUR_HTML_SWIFFY_FILE]?clickurl={clickurl}" width="100%" height="90px" frambedorder="0"></iframe> Edit your swiffy html file, go down and replace last <script> block <script> var stage = new swiffy.Stage(document.getElementById('swiffycontainer'), swiffyobject, {}); stage.start(); </script>With <script> // !!!!!!! Ads destination link !!!!!! var lienClient = ''; var clickurl = /clickurl=([^&]+)/.exec(document.location.href)[1]; var swiffycontainer = document.getElementById('swiffycontainer'); if (clickurl) { var parent = swiffycontainer.parentNode; var wrapper = document.createElement('a'); wrapper.setAttribute("href", clickurl + lienClient); wrapper.setAttribute("target", "_blank"); // set the wrapper as child (instead of the element) parent.replaceChild(wrapper, swiffycontainer); // set element as child of wrapper wrapper.appendChild(swiffycontainer); } var stage = new swiffy.Stage(swiffycontainer, swiffyobject, {}); stage.start(); </script> Thanks to http://forum.revive-adserver.com/topic/3194-generic-html5-banner-clicks-tracking/ and http://stackoverflow.com/questions/6938248/insert-a-div-element-as-parent
  2. Hello. You might know that new version of Google Chrome blocks flash-content. So we decided to convert them to html5. We choosed Google Swiffy to make this. But any attempts to do so failed. We tried different options in html5-settings of banners in Revive. And there were messages about the illegal tokens in console and no banner at all (the banners code were in the page source). So, are there any ability to use html5 banners converted in Google Swiffy? Maybe we should use another tool, not Swiffy, for this transformation? I've found only one topic here about this problem (seems that they had the same problem) but without any solution. http://forum.revive-adserver.com/topic/300-html5-swiffy-banner-in-iframe-how-to-make-responsive/
  3. HTML5 banners generated using Google Swiffy can't be put into HTML banner field in Revive, the Javascript conflicts, one has to serve them via an iframe. I want the banner to be responsive. There are a lot of variables in play: in the footer of the generated HTML5 file it has this in style tags: html, body width: 100%; height: 100% and it generates this in a div tag: id = swiffycontainer style="width: 728px; height: 90px" the iframe code i insert would normally be something like this (brackets removed so it won't render in this posting) iframe src="http://domainhere.com/images/banners/filename.html" width="728" height="90" frameborder="0" margin="0" padding="0" but i do not get responsive sizing. I also get some unwanted padding from the HTML file in the banner module. should changes be made to swiffy HTML file, to the iframe code i put into Revive, both? I've tried quite a few options and haven't gotten it right. Delighted to pay for assistance from a developer this is a commercial project. We do not want to serve Flash banners, HTML5 is the answer but i'm missing a few pieces of this puzzle. thanks...
×
×
  • Create New...