ArviaChat / web-sdk

Arvia.Chat web sdk is the Javascript library that helps you easily add video chats, audio calls or instant messaging to your website in minutes.

Home Page:https://arvia.chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Just include arvia.chat.js on your page, create an empty div element and initialize ArviaChat in that div.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Arvia Chat</title>
    <script type="text/javascript" src="https://arvia.chat/js/arvia.chat.js" ></script>
  </head>
  <body>
    <button id="startButton" style="height: 32px">Start Arvia Chat</button><br />
    <div id="arvia.chat"></div>
    <script type="text/javascript">

      document.getElementById('startButton').addEventListener('click',
        
        function() {
          var arviaChat = new ArviaChat();
          arviaChat.setTestUser(true);
          arviaChat.setRoomName("test-room-1");
          arviaChat.init("arvia.chat");
          arviaChat.connect();
        }

      );

    </script>
  </body>
</html>

Live Examples

SDK with default settings https://arvia.chat/sdk/web/example.html
Example with some buttons https://arvia.chat/sdk/web/example-some-methods.html
Arvia Chat in a popup https://arvia.chat/sdk/web/example-popup.html
Floating Chat Widget https://arvia.chat/sdk/web/example-widget.html

SDK Reference

Take a look at the SDK Reference for more options and customization.

For mark down version, go to reference.md

About

Arvia.Chat web sdk is the Javascript library that helps you easily add video chats, audio calls or instant messaging to your website in minutes.

https://arvia.chat


Languages

Language:HTML 52.5%Language:TypeScript 32.2%Language:JavaScript 14.9%Language:CSS 0.3%