Jump to content

HTML5 Swiffy workaround broken with latest release


tfmkevin

Recommended Posts

We have been doing a workaround for supporting HTML5 ads created with Swiffy. 

Because the URL field in HTML ads has been deprecated, our workaround is now broken.  

The workaround was:

1. create a generic HTML banner

2. paste the Swiffy/HTML5 code in

3. find the line in the Swiffy-generated HTML5 code where the Flash ClickTAG (or similar) variable is set, and give it a value of {clickurl} (to substitute in the Revive clickurl macro.):

  stage.setFlashVars("clickTag={clickurl}");  

4. Fill the URL into the blank

 

Now, the URL blank is gone. We've tried putting the target URL right after the {clickurl} in the code, like this:

  stage.setFlashVars("clickTag={clickurl}http://targeturl.goes.here");  

but somehow the swiffy-generated code seems to malform the resulting link so it doesn't work.

Any ideas?

Link to comment
Share on other sites

  • 8 months later...

Hi @tfmkevin,

I think that in terms of "deprecating" the URL field, it actually still exists, it's just not in the UI (because we felt it was confusing). So, I can think of two ideas:

  1. You could manually hack the URL back into the field via the database; or
  2. Better yet, you could take a look at how the HTML banner is modified by Revive Adserver in one of your existing banners, which you set up when the URL field was displayed, and copy how the HTML banner should be with a valid destination URL, and then put that in as your HTML banner from now on.

HTH

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...