Free tool
TV Script Maker
Build a script for a TV or web screen, with a homepage and a menu of your own stations.
Make a script for a TV or web screen: it shows a web page or video on one face of a prim, with auto scale and auto zoom switched on by default. Set a homepage, add your own stations (a button name and a web address each), and touching the TV opens a menu to switch between them. The owner can add more stations from that menu in-world too.
Homepage
Shown when the script starts, and by the Home button in the menu.
Categories
Optional. Each category becomes a button in the menu that opens a list of its sites — for example Music holding YouTube and Vimeo. Up to 10. Sites with no category sit in the top menu beside them.
Stations (sites)
Type the name you want on the menu button (for example Google) and the address it opens (for example https://google.com). Pick a category for each station, or leave it in the top menu. Names are cut to 24 letters. Rows with no address are ignored. Your list is remembered in this browser.
Favourites
Saved pages that live under a station — for example favourite music videos under YouTube. A station with favourites opens a small menu with Open Site and its favourites. You can also save one from the page showing on the TV: use Save Fav in the menu in-world.
Screen and display
Turn on “first click interacts” only if you open the menu another way (the chat command below) — otherwise the first click goes to the web page and not to the menu.
Who can use the page
With the whitelist on, the screen refuses every site that is not listed — including links people click inside a page.
Menu and behaviour
Watching together: prim media is one shared page, so everyone sees whatever the TV is set to. The script keeps a start clock for what is showing. Sync (or a newcomer arriving, if that box is ticked) reloads the page for everyone at the same point in the video, so latecomers watch from where the others are; Restart starts it again from the beginning for everyone. This works for YouTube, Vimeo and direct video files (.mp4 and similar); other sites just reload. Pausing, ads and buffering in one person’s viewer are not tracked, so positions can drift by a few seconds, and a sync briefly reloads the page for everybody.
Once someone clicks the screen it zooms in, and from then on clicks go to the web page — so the menu will not open from the screen again until they press Esc or click away. To always reach the menu, use a separate face or a small “Menu” button prim (choose it above), or the Zoom button in the menu (turning zoom off stops the camera jumping in on a click; whether later clicks then still reach the menu depends on the viewer, so keep a separate menu spot or the chat command as a backup), or the chat command: say /5 menu (or your channel) near the TV.
LSL script
Drop it into the prim you want to use as the screen, on the right face number. Prim media needs a viewer and region that allow it. Always test in a safe spot first.