Using whitelist to restrict browsing but allow embedded video
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Using whitelist to restrict browsing but allow embedded video
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.
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.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Using whitelist to restrict browsing but allow embedded video
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.
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.
Please add [Solved] to your thread title if the solution was found.
Using whitelist to restrict browsing but allow embedded video
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
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
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Using whitelist to restrict browsing but allow embedded video
Hi Jojamoco,
This is what works for me (only first embedded video is whitelisted in sample below):
You can find other video URLs by inspecting the html source code of your webpage.
Thanks
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
Thanks
Please add [Solved] to your thread title if the solution was found.
Using whitelist to restrict browsing but allow embedded video
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
For now though this will work. Thank you for all you time/work
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Using whitelist to restrict browsing but allow embedded video
For Firefox this should work to allow all embedded videos:
This trick may not work for Chrome (did not check).
Code: Select all
whitelist=cahfa.com https://www.youtube.com/embed/
Please add [Solved] to your thread title if the solution was found.
Using whitelist to restrict browsing but allow embedded video
Is it possible to edit the whitelist or do I do a fresh install?
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Using whitelist to restrict browsing but allow embedded video
Explained here:
https://porteus-kiosk.org/faq.html#3
https://porteus-kiosk.org/faq.html#3
Please add [Solved] to your thread title if the solution was found.