Page 1 of 1

Using whitelist to restrict browsing but allow embedded video

Posted: 08 Mar 2019, 14:29
by Jojamoco
Hello,

I am trying to set up a simple Kiosk that allows users to browse a live website that heavily uses youtube embeds. However we don't want users leaving to youtube. If I use whitelist to prevent browsing elsewhere it blocks the embeds and if I don't people can click through to youtube.

Any help is welcome.

Using whitelist to restrict browsing but allow embedded video

Posted: 08 Mar 2019, 17:14
by fanthom
Hi Jojamoco,

Which browser are you using?
Can you post an URL to your website so i could test this on my kiosk?

BTW: i have deleted your other thread as it has very similar query.

Using whitelist to restrict browsing but allow embedded video

Posted: 12 Mar 2019, 11:42
by Jojamoco
Hello,

First off sorry for the double post I didn't see the message about posts being approved and made a new one thinking I had made a mistake somehow.

The website is https://www.cahfa.com/en-us/

I think I defaulted to using chrome but I am happy to use firefox if that works better/differently./ I was thinking of switching anyway because of the option to hide the navigation stuff.

Thanks

Using whitelist to restrict browsing but allow embedded video

Posted: 12 Mar 2019, 17:03
by Ed_P
:good:

Using whitelist to restrict browsing but allow embedded video

Posted: 12 Mar 2019, 17:59
by fanthom
Hi Jojamoco,

This is what works for me (only first embedded video is whitelisted in sample below):

Code: Select all

whitelist=cahfa.com https://www.youtube.com/embed/aokMLRkrJ-I
You can find other video URLs by inspecting the html source code of your webpage.

Thanks

Using whitelist to restrict browsing but allow embedded video

Posted: 13 Mar 2019, 11:21
by Jojamoco
I will do that, but if there is a way to make the whitelist only check when a new page is called then I won't need to update everytime the website gets a new video.

For now though this will work. Thank you for all you time/work

Using whitelist to restrict browsing but allow embedded video

Posted: 13 Mar 2019, 11:25
by fanthom
For Firefox this should work to allow all embedded videos:

Code: Select all

whitelist=cahfa.com https://www.youtube.com/embed/
This trick may not work for Chrome (did not check).

Using whitelist to restrict browsing but allow embedded video

Posted: 13 Mar 2019, 11:59
by Jojamoco
Is it possible to edit the whitelist or do I do a fresh install?

Using whitelist to restrict browsing but allow embedded video

Posted: 13 Mar 2019, 12:15
by fanthom