Repository navigation
Technical Plugin VideoDocuments
Attaches document files to videos.
Audience: developers, advanced administrators and AI-assisted diagnosis. Plugin catalog.
- Review date: 2026-10-29. Method: static source analysis; runtime/provider behavior was not exercised.
- Code ownership: independently versioned plugin repository.
- Reported version:
1.1. - Source revision:
aa4e653c3081bc798a57fbcb368e0d9a13331db6. - Entry class file: VideoDocuments.php.
Confirm the installed plugin version independently of the Streamer version. Configuration defaults below are not a dump of this installation's saved settings.
No literal dependency declaration was extracted. This does not prove the plugin is standalone.
| Override | Implementation |
|---|---|
getFooterCode() |
VideoDocuments.php:35 |
getVideosManagerListButton() |
VideoDocuments.php:60 |
getWatchActionButton($videos_id) |
VideoDocuments.php:66 |
These are direct assignments inside getEmptyDataObject(), not evaluated effective defaults. Stored plugins.object_data, globals, structured values and conditional branches may alter runtime behavior. Private/default credential values are omitted.
| Field | Literal default or expression type | Literal source label/help | Evidence |
|---|---|---|---|
title |
"Documents" |
— | source |
allowedExtensions |
Computed/structured; inspect source | — | source |
This inventory distinguishes implementation files from an API specification. Includes, templates, callbacks and CLI workers are not interchangeable HTTP endpoints. Request-field names below are direct source references, not a complete schema or permission declaration.
| File | Source role | Direct request fields observed |
|---|---|---|
| Objects/Documents.php | class/helper implementation | — |
| Objects/DocumentsPurchases.php | class/helper implementation | — |
| VideoDocuments.php | plugin entry class | videoName |
| actionButton.php | PHP page/include/worker; inspect caller | — |
| deleteDocument.php | PHP page/include/worker; inspect caller |
id, videos_id
|
| documents.json.php | JSON entry point; inspect caller and guard | videos_id |
| download.php | PHP page/include/worker; inspect caller | id |
| footer.php | PHP page/include/worker; inspect caller | — |
| install/install.sql | schema/migration SQL | — |
| saveDocument.json.php | JSON entry point; inspect caller and guard |
input-b2, videos_id
|
Tables named in available CREATE TABLE statements: documents, users_has_documents.
Apply installation/update behavior through the owning plugin; this reference is not a script for running historical migrations manually.
Visibility and implementation semantics must be checked in source. Nonempty string defaults are represented as . This is a symbol reference, not a stable public API promise.
| Function or method | Source |
|---|---|
getDescription() |
10 |
getName() |
16 |
getUUID() |
20 |
getPluginVersion() |
24 |
getEmptyDataObject() |
28 |
getFooterCode() |
35 |
getVideosManagerListButton() |
60 |
getWatchActionButton($videos_id) |
66 |
getIconFromFilename($filename) |
72 |
getAllowedExtensions() |
99 |
validateUpload($file) |
112 |
canDownload($users_id, $documents_id) |
138 |
These symbols are grouped by source file; inspect the class declaration and visibility before calling them.
Declared classes: Documents.
| Named symbol | Source |
|---|---|
getSearchFieldsNames() |
13 |
getTableName() |
17 |
getFilename() |
21 |
getDescription() |
25 |
getIs_public() |
29 |
getVideos_id() |
33 |
getStatus() |
37 |
getData() |
41 |
setFilename($filename) |
45 |
setDescription($description) |
50 |
setIs_public($is_public) |
54 |
setVideos_id($videos_id) |
58 |
setStatus($status) |
62 |
setData($data) |
69 |
getLink() |
73 |
setLink($link) |
77 |
getAllFromVideo($videos_id) |
81 |
delete() |
103 |
getPrice() |
125 |
setPrice($price) |
129 |
Declared classes: DocumentsPurchases.
| Named symbol | Source |
|---|---|
getSearchFieldsNames() |
11 |
getTableName() |
15 |
getUsers_id() |
19 |
getDocuments_id() |
23 |
getPrice_paid() |
27 |
getObservation() |
31 |
getStatus() |
35 |
setUsers_id($users_id) |
39 |
setDocuments_id($documents_id) |
43 |
setPrice_paid($price_paid) |
47 |
setObservation($observation) |
51 |
setStatus($status) |
55 |
loadFromUser($id, $users_id) |
59 |
getFromDbUser($id, $users_id) |
69 |
- Check the installed/enabled version and the dependencies/settings above.
- Identify the actual failing page, request, callback or worker and correlate its timestamp with the AVideo log.
- Follow the linked method and caller. Check business-state changes and output artifacts as well as HTTP status.
- Reproduce the relevant workflow in a test environment. External provider, Encoder, live-server, storage, payment and authenticated flows require their real integrations.
Shared diagnostic workflow. This page is not a security audit or a claim of end-to-end validation.
Start
Install and update
- Install on Ubuntu 24.04 or 26.04
- Installation Setup Page
- Scheduler cron job (required)
- Set up email
- Use HTTPS
- Own Encoder
- Docker
- Update AVideo
- Backup
- Secure file permissions
- Server command-line tools
- Hidden configuration options
Videos
- Upload a video
- Local Encoder (on your computer)
- Bulk upload by FTP
- Import a channel
- Publish on YouTube and social media
- Privacy options
- Only for logged-in users
- Resolutions by user group
- Storage options
- Move and protect video files
- Video does not play
Users
Live
- Make a live stream
- Stream with OBS
- Own live server
- One live server, many sites
- Live server install errors
- Live does not play
Plugins
Problems
Other
- Translate your site
- Write a plugin (developers)
- Technical reference (developers and advanced administrators)
Old and retired guides