Broadcast To Tablet


#1

Broadcast To Tablet

This entity script opens a web page on the in-world tablet upon being clicked or laser triggered.

How to Setup

  1. Create an entity that isn’t a zone.
  2. Install the script in the Script Url and let it run at least once. The script will update the UserData of the object with a URL parameter.
  3. Update the URL parameter in UserData to reflect the desired address you want to link.
  4. Click or laser trigger the object to double check that the URL entered loads.
  5. Done!

Uses

  • Giving users a personal version of a webpage to view up close.
  • A feedback form
  • Web controls for domain features

Tips

  • The script will set itself up for you. If there are any issues with this, then the script should be updated to resolve those problems.

Links


#2

This looks super helpful and interesting! I’ve been making VR movies in HiFi and one of our obstacles is rehearsing: actors can’t hold their scripts in hand like they would in real life. Hopefully this would help solve that problem, assuming I can drop a .pdf into dropbox and use that url for this. Thank you, I will try this and leave feedback!


#3

I love this script! I am using if for my library books. It would be helpful to have a ‘broadcast to window’ script too. That way the content could be resizable. What do you think?


#4

Woops! I was working on a PR just for that and got side tracked. Let me take another look at it.


#5

Hi @FlameSoulis. I wonder what I am doing wrong, the script is not running. I’ve copied the URL in the script URL field and click the ‘reload’ button. The User Data don’t update. Any hints?


#6

Heya, @Skimi!

Two things:

  1. The URL you are using is of the page to view the code on GitHub. You want the raw url, which is located here: https://raw.githubusercontent.com/FlameSoulis/hifi-open-scripts/master/entities/broadcastToTablet/broadcastToTablet.js

    You can find for any script here:
    image

  2. The issue you will run into is ironically the reason I wrote broadcast to tablet in the first place: it won’t work for marketplace items! Yep! Spent roughly a good hour writing it (oddly on my last day as a greeter) so new users could have hyperlinks to common marketplace goods (sign, chat, etc).

    However, not all is lost! I wrote a sister app: The Market Link!

This will let you link marketplace items using any object and runs exactly like Broadcast to Tablet, but for marketplace items! If you run into any trouble with that, be sure to post about it here.


#7

Great thing, thanks for fast and detailed reply. I will try it when back home. Even it’s not working with marketplace items, I have some things in mind for what it will very useful! Thank you @FlameSoulis