Skip to content

Run Cute Chat in embed mode

Cute Chat

Run Cute Chat in embed mode

All chat rooms of Cute Chat can be added to web pages in embed mode. If a chat room is added to a web page in embedded mode all users opening that page will automatically enter the chat room.

embed chat

To emebd a chat room, you need to know the Embed_Place of this chat room.

The following example embeds a chat room into a web page. The Embed_Place of this chat room is "Lobby-1". You can modify this example to meet your own requirements.

  1. <%@ Page Language="C#" %>   
  2. <%@ Register TagPrefix="CuteChat" TagName="EmbedChannel" Src="CuteSoft_Client/CuteChat/EmbedChannel.ascx" %>   
  3. <html>   
  4.  <head>   
  5.   <title>Embed CuteChat </title>   
  6.  </head>   
  7.  <body>   
  8.   <script>   
  9.   //set up the parameters    
  10.   Embed_Place='Lobby-1';   
  11.   </script>   
  12.   <CuteChat:EmbedChannel id="EmbedChannel1" runat="server"></CuteChat:EmbedChannel>   
  13.  </body>   
  14. </html>  


How to get Embed_Place of my chat room?

Every Chat room of Cute Chat is identified by Embed_Place. If you don't know the Embed_Place of your chat room, please open the chat room in standard mode.

The Embed_Place of the chat room can be easily found in the URL.

Embed_Place.