Cisco Spark

Widgets

Web components written in React

Features

Integrate Spark functionality into your existing web apps with Widgets written in React:

  • Audio and/or video 1:1 calling
  • Dial by email or SIP address
  • Call and event controls
  • Audio and video call control
  • 1:1 and group space messaging
  • Responsive UI
Getting Started

Quickly incorporate Spark into your existing web applications! With Spark Widgets, it's as easy as including some simple code in your app. Here's one way to add the Space Widget:

<html>
  <head>
    <meta charset="utf8">
    <title>Space Widget Demo</title>
    <link rel="stylesheet" href="https://code.s4d.io/widget-space/production/main.css">
  </head>
  <body>
    <div style="width: 500px; height: 500px;">
      <main
        class="ciscospark-space"
        data-toggle="ciscospark-space"
        data-access-token=""
        data-to-person-email=""
      />
    </div>
    <script src="https://code.s4d.io/widget-space/production/bundle.js"></script>
  </body>
</html>

Space Widget

Features

  • Calling:
    • Audio and video 1:1 calling
  • Messaging:
    • Space and 1:1 messaging
    • Markdown support
    • File sharing
    • Message flags and ability to delete messages
    • Read receipts
    • Persistent chat

Requirements

  • Supported Browsers: Google Chrome (latest), Mozilla Firefox (latest), and Internet Explorer 11. Calling only available with Google Chrome and Mozilla Firefox.
  • This Widget requires the spark:all scope

Important Notes

  • Calls made between Chrome and the iOS SDK or iOS client are not supported
Recents Widget

Features

  • Recent Spark conversation list (spaces & people)
  • Hooks to open a conversation with the Space Widget
  • Unread space highlighting
  • Event hooks for messages, calls, and memberships
  • Incoming call notifications

Requirements

  • Supported Browsers: Google Chrome (latest), Mozilla Firefox (latest), and Internet Explorer 11. Calling only available with Google Chrome and Mozilla Firefox.
  • This Widget requires the spark:all scope