How to allow Geolocation support in an embedded HTML code?

@junsoy0808

Try this in the custom code - select - hope it works.

<script>
    // get all iframes in the document and set the permission with geo
    var iframes = document.getElementsByTagName('iframe');
    for (var i = 0; i < iframes.length; i++) {
        iframes[i].setAttribute('allow', 'geolocation');
    }
</script>