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
For optimal performance, we recommend hosting large videos on dedicated platforms:
217
+
- **YouTube** (Free, public/private options)
218
+
- **AWS S3** (Requires bucket & CORS configuration)
219
+
- **Cloudflare Stream** (Paid, enterprise-grade)
220
+
- **Vimeo** (Paid, professional features)
221
+
222
+
223
+
#### CriticalConsiderations
224
+
- Best practice: PageBundling
225
+
226
+
- Accessibility: Always include subtitle tracks (VTT format)
227
+
228
+
- Thumbnails: Set custom posters with ```poster="image.jpg"```
229
+
230
+
- Bandwidth: Self-hosted videos may incur significant costs
231
+
232
+
- Authentication: For private videos, use signed URLs (S3) or unlisted (YouTube)
233
+
199
234
## 4. Build and PreviewLocally
200
235
201
236
Before publishing, it is crucial to preview your content locally to check for formatting errors, broken links, and overall structure.
@@ -343,4 +378,19 @@ make clean
343
378
344
379
The structure is defined by your folder hierarchy. A learning path is a directory, and each course is a sub-directory within that path. This folder structure in your `content` directory directly maps to the learning path structure presented to users.
345
380
381
+
6. **Why does my local build fail when adding large videos?**
382
+
383
+
Hugo's default memory limit is 512MB. For videos >50MB:
384
+
```bash
385
+
hugo server --memlimit 2GB
386
+
```
387
+
388
+
7. **How to securely host private training videos?**
0 commit comments