You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,23 @@ The sections of the article will be filled and nested automatically in the LHN,
168
168
169
169
If you're unfamiliar with github branches, PRs and confused how to add images and article in the same PR, head to this [slack thread 🧵](https://expensify.slack.com/archives/C02QSAC6BJ8/p1699632298177679?thread_ts=1699576284.768909&cid=C02QSAC6BJ8) in `#expensifyhelp`.
170
170
171
+
## Add videos
172
+
1. Upload your video to cloudflare.
173
+
2. Import the video in an article. You can do that by pasting the below snippet.
174
+
3. Replace `src` with the public URL for the video. **It should be cloudflarestream.com url**.
175
+
4. Make sure to remove `/manifest/video.x` from the url.
176
+
177
+
178
+
Without a custom thumbnail
179
+
```
180
+
{% include video.html src="https://customer-dtm7nf3ai7b93j1q.cloudflarestream.com/b81eabafe1391ab06901ddc19dcda161" %}
181
+
```
182
+
183
+
Optional: Add a custom thumbnail for the video. Replace `your-image.png` with a **16x9 aspect ratio image** from the `assets/images` directory.
184
+
```
185
+
{% include video.html thumbnail="assets/images/your-image.png" src="https://customer-dtm7nf3ai7b93j1q.cloudflarestream.com/b81eabafe1391ab06901ddc19dcda161" %}
186
+
```
187
+
171
188
## Add meta-description tags for SEO
172
189
173
190
At the top of template file we're going to find a few variables that will help us to define the meta-description of the article for SEO:
0 commit comments