Change Media Stream For Everyone, Anytime | Sansar Store
Change Media Stream For Everyone, Anytime

Change Media Stream For Everyone, Anytime

 100

You need to own this item to leave a rating.

0 ratings

Want everyone to hear and see the same thing at the same time? This is your answer.

To Use: you need a media surface in your experience to get this to work, and the scene sound set to use the media source. Set the channels and the permissions, then after publishing just type in public:

/stream https://www.youtube.com/embed/_tcW-j7KFgY?autoplay=1

(or whatever media url you want to autoplay).

It'll change for everyone.

for youtube videos to autoplay in fullscreen, the url has to be like this:
https://www.youtube.com/embed/<video id>?autoplay=1

for youtube playlists to autoplay in fullscreen, the url looks like this:
https://www.youtube.com/embed?listType=playlist&list=<playlistid>&autoplay=1

for more info on youtube url params, check this link:
https://developers.google.com/youtube/player_parameters

for twitch, the url for fullscreen is: http://player.twitch.tv/?channel=<channel>&quality=source&volume=1 (thanks Torley)

Additional Options:
owner only: toggle on to lock it down to only the experience owner

Users allowed to change channels: comma delimited list of user names allowed to change the channels.

Channels:
Preload up to 8 channels for easy switching. You can change the channel by typing: /channel 1

Channel 1 will auto-play when the scene loads.

if you like it, let others know : )

feature requests, bugs, questions? go here: https://tree.taiga.io/project/nebulae-sansar-scripts/wiki/home
please use your sansar name so I know who it's coming from : )

cheers,
~neb

Item name
net.mentalpad.changeMediaStream
Sold by