Jump to content

Recommended Posts

Posted

Dear,

As I'm new to this forum (and to revive adserver), I do apologise if this question is not posted in the right section of the forum.
My question is a bit hybrid (technical/configuration maybe), I was wandering if it is possible to add attributes to the generated iframe tags?
My ads are presented to my clients with the help of javascript, which behind the scenes is going to create an iframe,... you know the drill.
The HTML banners that are currently under development require an access to the usermedia, yet this isn't allowed anymore without certain attributes. 
One must specify the allow-attribute on the iframe tag(https://bugs.webkit.org/show_bug.cgi?id=182638#c8), yet I couldn't find any information about adding attributes to generated tags in the documentation.  

<iframe allow="geolocation; microphone; camera; midi; encrypted-media;" ></iframe>

So my question is rather simple, is it possible to add or modify attributes on a generated tag. I know I could simply generate an iframe tag and perform the modifications myself, yet some of my clients require the advert to be delivered under the form of a javascript.

Thank you in advance.

 

Joey

  • 2 weeks later...

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...