I actually did it as a embedded widget using the code aspect. meaning i made an iframe, build the html,css,javascript in the code section. i find this fairly simple to do. The actual permission granted to give permission for the iframe is given through the custom code.
Do you have some insight into a custom element that would work with giving permission for both desktop and mobile though ? might be able to build around that then.