🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@intheroomglobal/embed

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intheroomglobal/embed

In The Room experience embed

latest
npmnpm
Version
1.5.2
Version published
Maintainers
2
Created
Source

Speakeasy Embed

An easy to use script to embed Speakeasy experiences within a website.

Usage

Paste the following snippet into your page. Replace the link with a link to your own experience.

<convo>
  <link href="https://unpkg.com/@intheroomglobal/embed/embed.min.css" rel="stylesheet" />
  <a href="https://lite.intheroom.global/experience/{EXPERIENCE_ID}?lite-only=1" title="View accessible version of My Awesome Experience"><span>My Awesome Experience</span></a>
  <script src="https://unpkg.com/@intheroomglobal/embed/embed.min.js"></script>
</convo>

To maximise your experience, add data-maximized attribute to the convo element.

To change the aspect ratio of the embed, add data-aspect-ratio attribute to the convo element, with a valid aspect ratio as the value, e.g. <convo data-aspect-ratio="16:9">...</convo>.

To inline an experience, so when interacted with it does not go full screen, add data-inline attribute to the convo element. Inlined experiences cannot be maximized.

FAQs

Package last updated on 13 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts