How to add the YouTube widget
This guide shows you how to add and configure a working YouTube widget on Social WiFi splash pages.
1. Log into your Dashboard.
2. On the left side, click Splash Pages and choose the one you want to change.
3. When you open the page, on the right side there are 3 icons, including one with a + sign. Click on it. Then press the Elements section and choose YouTube.
4. When you drag it to the centre area, you will see Social WiFi’s default video. To change it, paste a YouTube URL into the field on the right side.
5. Press Save.
Updating MikroTik Walled Garden
- Open Winbox, on the left side click New Terminal and paste these commands:
/ip hotspot walled-gardenadd comment="socialwifi: Allow YouTube widget." dst-host=*.youtube.comadd comment="socialwifi: Allow YouTube widget. It's a workaround for Mikrotik walled garden bug with CNAME in DNS response. Required to allow www.youtube.com." dst-host=youtube-ui.l.google.comadd comment="socialwifi: Allow YouTube widget. It's a workaround for Mikrotik walled garden bug with CNAME in DNS response. Required to allow img.youtube.com." dst-host=ytimg.l.google.comadd comment="socialwifi: Allow YouTube widget." dst-host=*.ytimg.comadd comment="socialwifi: Allow YouTube widget." dst-host=*.googlevideo.comadd comment="socialwifi: Allow YouTube widget." dst-host=yt3.ggpht.comadd comment="socialwifi: Allow YouTube widget. It's a workaround for Mikrotik walled garden bug with CNAME in DNS response. Required to allow yt3.ggpht.com." dst-host=*.l.googleusercontent.com