&widget
Will load a side-bar with an IFrame embed, with support for YouTube / Twitch / Social Stream
General Option! / Director Option! (&director
, &push
, &room
, &view
, &scene
)
Options
Example: &widget=https%3A%2F%2Fwww.youtube.com%2Flive_chat%3Fis_popout%3D1%26v%3DORBwkXsUNEs
(URLComponent-encoded URL value)
load a side-bar with that page as an IFRAME embed
Details
&widget
lets you pass a URLComponent-encoded URL value. It will load a side-bar with that page as an IFrame embed, with support for YouTube/Twitch specifically added.
This was designed for Twitch / YouTube / Social Stream chat, but could in theory work with any CORS-friendly site, such as a third-party web tool.
The director of a room also has the option to enable/disable the widget function for everyone in the room via the room settings menu.
You can encode the URL here: https://www.urlencoder.org/
Changing the width of the widget sidebar
&widgetwidth can be used to set the width of the widget sidebar, as a percentile value.
eg:
&widgetwidth=30
the max width is 50%, with the default already at 25%
Considerations
not all domains allow themselves to be embedded into VDO.Ninja
you cannot use &css or &js in conjunction with &widget, for security purposes
If the director uses &widget
, it will auto sync that with all guests as they connect. I'll try to find ways to make it easier to resize/minimize in the future.
Widgets and IFrames will fail to load if inserting custom CSS into VDO.Ninja using &css or &base64css. This is done for user security in mind.
Related
&chatbuttonSocial Stream NinjaLast updated