Hello,
Before asking my question, I'd love to say thank you very much to the developer(s) that created the OVA AS3, it's been really, really great experience to work with your framework! I understand how much time and hard work has been put into this to make it work with such adaptability and flexibility!
Okay now to the main part, I've just worked with OVA AS3 for a week or so, and I managed to build a working system utilizing a custom player and my OVA plugin. Everything was good until I got stuck trying to display an "Ad Notice" and a "Click Sign" while my ads are running. The details are as followed:
- I enabled the display of non-linear Ads by calling _vastController.enableNonLinearAdDisplay()
- I followed most of the guide on "Integrating OVA for AS3"
- I have NOT listened to any event regarding overlay linear ad (I expected to use the default features of OVA for AS3 before trying to customize anything)
- I setup the configuration like this:
"notice": {
"show": true,
"type": "countdown",
"message": "<p class=\"smalltext\" align=\"right\">My_message_in_UTF-8 _countdown_ another_part_of_my_message</p>"
} - I also setup the "clickSign" key very similar to the guide and examples. I'm sure I set "enabled" to true
And the results (as well as the problems) are here:
- My message displays like this:
<p class="smalltext" align="right">My_message_in_UTF-8 [seconds] _another_part_of_my_message</p>
(So instead of formatting the message using the html tags, it displays the tags along with the non-formatted message)
- As for the above issue, when I changed the key "message" into "html" - which makes my configuration look like this:
"notice": {
"show": true,
"type": "countdown",
"textStyle": "normaltext",
"html": "<p class=\"my-style\" align=\"right\">My_message_in_UTF-8 _countdown_ another_part_of_my_message</p>"
}- then my message appears nice-looking, BUT... the content of the message falls back to the default value, which is
"This advertisement runs for x seconds"
(So my custom message and styling are completely ignored).
- As for the "clickSign", no matter how I try to tweak the configuration settings, nothing ever shows up (although when I click on an ad while it's playing, the browser does open the destination url!)
---------------- Wrap up ----------------
So, with all the above stated, I think what I would love to ask is that:
- Was I wrong in the configuration step? or,
- I do have to write my custom OVA plugin to implement the "Ad Notice" and "ClickSign" events myself?
Thank you very much for your time and your help,
(I'm also sorry if this question has been asked before, I just could not find a similar one, or maybe I didn't try hard enough...),
Best regards,
Khang
Hi Khang,
Thanks for the feedback and the questions... ok, let me try to help you over this hump.
To kick things off, can I ask - which version (build) of the AS3 framework are you running? (just so I can try to replicate your issues locally as I help out)... is it the latest version from the SVN repository?
Paul.