<div dir="ltr"><div>The code to do something like this is:</div><div><br></div><div>Services.perms.add(NetUtil.newURI("<a href="https://www.youtube.com">https://www.youtube.com</a>"), "autoplay-media", 1);</div><div><br></div><div>You an add a few of these lines at the bottom of cck2.cfg with your domains and it should work.<br></div><div><br></div><div>I'll look at adding it to policy as well.</div><div><br></div><div>Mike<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 2, 2019 at 9:27 AM Tichenor, Jon E <<a href="mailto:Jon.Tichenor@gd-ms.com">Jon.Tichenor@gd-ms.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-243257026311002512WordSection1">
<p class="MsoNormal">Using ESR version 68.1.0, is there any way to whitelist specific domains to allow them to autoplay video content? I see how it can be done via the UI, but have not found a method to allow us to programmatically address this. We want to
 allow videos to autoplay from *<b>our</b>* domain(s), while still blocking autoplay for everything else.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We are currently still using the CCK2-style method of configuration while we explore migrating our configuration over to GPO.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
</div>
</div>

_______________________________________________<br>
Enterprise mailing list<br>
<a href="mailto:Enterprise@mozilla.org" target="_blank">Enterprise@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/enterprise" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/enterprise</a><br>
<br>
To unsubscribe from this list, please visit <a href="https://mail.mozilla.org/listinfo/enterprise" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/enterprise</a> or send an email to <a href="mailto:enterprise-request@mozilla.org" target="_blank">enterprise-request@mozilla.org</a> with a subject of "unsubscribe"<br>
</blockquote></div>