Skip to content

Commit ec2d82f

Browse files
authored
fix(docs): remove broken moments widget
1 parent 88b8740 commit ec2d82f

File tree

1 file changed

+4
-18
lines changed
  • src/pages/extending-chat-widget/chat-widget-moments

1 file changed

+4
-18
lines changed

src/pages/extending-chat-widget/chat-widget-moments/index.mdx

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,10 @@ versionGroup: "chat-widget"
1212

1313
Moments allow you to show any web application during a chat and let customers perform specific actions.
1414

15-
<video
16-
src="https://cdn-staging.livechat-static.com/api/file/lc/att/1520/34fb66f74b2f18394a199dbf0b6c4e9f/chw.mp4"
17-
autoplay="true"
18-
loop="true"
19-
muted="true"
20-
/>
21-
2215
## Is it for me?
2316

2417
Think about Moments as a solution for difficult tasks to handle during a conversation. When a specific task is hard to perform using text messages or it requires a lot of effort from your customer to provide requested data, Moments can make your process much more accessible. The feature allows you to solve a problem without the need to leave a chat. From a technical point of view, it's a web page embedded in an iframe shown during a chat.
2518

26-
<div>
27-
<iframe
28-
src="https://secure-labs.livechatinc.com/customer/action/open_chat?license_id=100016461&group=1"
29-
style={{border: "1px solid rgba(0, 0, 0, 0.1)", width: "100%", maxWidth: "300px", height: "550px", display: "block", margin: "1em auto"}}
30-
></iframe>
31-
</div>
32-
3319
## How it works?
3420

3521
1. The customer receives a rich message with the webview button
@@ -86,10 +72,10 @@ Moments SDK is the library to integrate web application used as Moments with Cha
8672

8773
Default method exported by the library. It's initializing connection with chat widget. You can pass additional properties:
8874

89-
| param | type | description |
90-
| --------- | ------- | -------------------------------------------------------------------------------------------------------------------------- |
91-
| title | string | Application title; will be placed on the Moment's title bar. |
92-
| icon | string | URL to the application icon; will be placed on the Moment's title bar. |
75+
| param | type | description |
76+
| --------- | ------- | --------------------------------------------------------------------------------------------------------------------------- |
77+
| title | string | Application title; will be placed on the Moment's title bar. |
78+
| icon | string | URL to the application icon; will be placed on the Moment's title bar. |
9379
| isFragile | boolean | When set to true, the LiveChat Chat Widget will require additional confirmation from the user in order to close the Moment. |
9480

9581
### Using npm

0 commit comments

Comments
 (0)