Repository navigation
Technical Reference Objects 05
Audience: developers and AI-assisted code lookup. Review date: 2026-10-29. Static inventory, not an endpoint specification, functional audit or integration-test result. Source files were read without executing application handlers. Nonempty string defaults are omitted.
| Named function/method | Source line |
|---|---|
mysqlBeginTransaction() |
4 |
mysqlRollback() |
22 |
mysqlCommit() |
41 |
getDatabaseTimezoneName() |
61 |
getDatabaseTime() |
84 |
convertDatabaseDateToUnixTime($date) |
110 |
convertDatabaseDateToUTC($date) |
128 |
convertToMySQLDate(string $date): string |
141 |
getMySQLDate() |
155 |
_mysql_connect($persistent = false, $try = 0) |
171 |
_mysql_commit() |
245 |
canCloseConnection() |
267 |
_mysql_close() |
305 |
_mysql_is_open() |
330 |
lockForUpdate($tableName, $condition) |
370 |
setDefaultSort($defaultSortColumn, $defaultSortOrder) |
402 |
getPrivateMySQLDumpInstancePrefix() |
411 |
createPrivateMySQLDumpPath() |
426 |
getMySQLDumpFilesForRestore() |
467 |
dumpMySQLDatabase($filePath, $extraOptions = [], &$status = [], $bfile = null) |
505 |
updateLockFile($status, $bfile) |
612 |
restoreMySQLBackup($filename) |
639 |
executeSQLFile($mysqli, $filename) |
686 |
lockTables($mysqli, $tables) |
698 |
tableExists($mysqli, $tableName) |
707 |
| Named function/method | Source line |
|---|---|
determineOgType($videoType) |
2 |
getMetaTagsContentType($videoType) |
22 |
getMetaTagsContentVideoType($sourceFileURL) |
37 |
generateMetaTags($videoType, $modifiedDate, $createdDate, $title, $description, $pageURL, $pageURLEmbed, $duration_in_seconds, $sourceFileURL, $imgPath, $imgURL, $extraMetatags = array(), $canonicalURL='') |
45 |
getOpenGraphTag($tags_id) |
185 |
getOpenGraphCategory($categories_id) |
206 |
getOpenGraphChannel($users_id) |
228 |
getOpenGraphSite() |
248 |
getOpenGraphVideo($videos_id) |
268 |
getOpenGraphLiveLink($liveLink_id) |
339 |
getOpenGraphLiveSchedule($live_schedule_id) |
360 |
getOpenGraphLive() |
383 |
| Named function/method | Source line |
|---|---|
_empty($html_string) |
9 |
_intval($string) |
25 |
_strtotime($datetime) |
36 |
_ob_end_clean() |
43 |
_ob_clean() |
49 |
_ob_start($force = false) |
57 |
_ob_get_clean() |
84 |
_getCookieTargetDomains() |
92 |
_getCookieDeleteTargets() |
109 |
_getCookieRequestDomain($host = null) |
132 |
_normalizeCookieDomain($domain) |
152 |
_isCookieSecure() |
186 |
_getCookiePolicy() |
222 |
_getDefaultCookieDomain() |
240 |
_getSessionCookieIniSettings() |
246 |
_applySessionCookieIniSettings() |
256 |
_getCookieSameSiteValue($secure) |
263 |
_getSessionCookieParamsConfig($lifetime, $domain = null, $path = '<string>') |
268 |
_supportsCookieOptionsArray() |
282 |
_getCookieOptionsArray(array $config, $includeExpires = true) |
287 |
_getLegacySameSitePath(array $config) |
308 |
_setcookieInternal($cookieName, $value, $expires, $path = '<string>', $domain = null) |
319 |
_setSessionCookieParams($lifetime, $domain = null, $path = '<string>') |
338 |
_setcookieWithExpiration($cookieName, $value, $expires) |
362 |
_setcookie($cookieName, $value, $expires = 0) |
381 |
_setSessionCookie($cookieName, $value) |
402 |
_unsetcookie($cookieName) |
407 |
_resetcookie($cookieName, $value) |
420 |
_resetSessionCookie($cookieName, $value) |
426 |
_substr($string, $start, $length = null) |
433 |
_strlen($string) |
443 |
is_utf8($string) |
453 |
_utf8_encode_recursive($object) |
458 |
_json_encode($object) |
477 |
_json_decode($object, $associative = false) |
504 |
_log_session_performance($reason = '<string>') |
527 |
_session_write_close() |
550 |
isSessionStarted() |
560 |
session_start_preload() |
578 |
_sessionRecordOpener() |
618 |
_session_start(array $options = []) |
641 |
_session_regenerate_id() |
756 |
uniqidV4() |
767 |
doesPHPVersioHasOBBug() |
802 |
getSystemAPIs() |
808 |
Declared classes/interfaces/traits: ParsedownSafeWithLinks.
| Named function/method | Source line |
|---|---|
_uniqid() |
7 |
checkAndCreateSaltV2() |
17 |
adminSecurityCheck($force = false) |
67 |
getSensitiveUserFields() |
109 |
removeSensitiveUserFields(&$data) |
149 |
canWatchVideoIncludingPassword($videos_id) |
162 |
forbiddenPageIfCannotWatchVideo($videos_id) |
177 |
forbiddenPageIfCannotEmbed($videos_id) |
191 |
forbidIfIsUntrustedRequest($logMsg = '', $approveAVideoUserAgent = true) |
223 |
isUntrustedRequest($logMsg = '', $approveAVideoUserAgent = true) |
231 |
forbidIfItIsNotMyUsersId($users_id, $logMsg = '') |
258 |
forbidIfNotPost($msg = '') |
267 |
forbidIfInvalidToken($msg = '') |
276 |
itIsNotMyUsersId($users_id) |
284 |
requestComesFromSafePlace() |
296 |
cleanDirectory($dir, $allowedExtensions = ['<string>', '<string>', '<string>', '<string>', '<string>', '<string>', '<string>', '<string>', '<string>', '<string>']) |
307 |
xss_esc($text) |
334 |
xss_esc_back($text) |
356 |
csvFormulaEscape($value) |
370 |
is_ssl_certificate_valid($port = 443, $domain = '<string>', $timeout = 5) |
388 |
isBot($returnTrueIfNoUserAgent=true) |
422 |
sanitizeATag($rawAttrs) |
491 |
sanitizeImgTag($rawAttrs) |
510 |
blockMarkup($Line) |
539 |
inlineLink($Excerpt) |
547 |
inlineUrlTag($Excerpt) |
566 |
inlineMarkup($Excerpt) |
585 |
markDownToHTML($text) |
615 |
linkifyTimestamps($text) |
657 |
getAToken() |
698 |
forbiddenPage($message = ''<string>''<string>''<string>'403 Forbidden') |
724 |
videoNotFound($message, $logMessage = false) |
771 |
isForbidden() |
783 |
includeSecurityChecks() |
792 |
ddosProtection() |
829 |
escapeshellcmdURL(string $command) |
884 |
recreateCache() |
889 |
getBearerToken() |
893 |
rateLimitIncrementAndGet(string $key, int $timeWindow): int |
962 |
rateLimitDecrement(string $key, int $timeWindow): void |
1006 |
enforceRateLimit(string $operation = '', int $maxAttempts = 20, int $timeWindow = 300): void |
1041 |
getCsrfBypassRelativePath($scriptPath) |
1094 |
autoCSRFGuard($baseName, $scriptPath = '') |
1105 |
autoRateLimitGuard($baseName, $scriptPath = '') |
1250 |
| Named function/method | Source line |
|---|---|
sendSocketMessage($msg, $callbackJSFunction = "'<string>'-1'<string>'", $try = 0) |
9 |
sendSocketMessageToUsers_id($msg, $users_id, $callbackJSFunction = "") |
37 |
sendSocketErrorMessageToUsers_id($msg, $users_id, $callbackJSFunction = '<string>') |
55 |
sendSocketSuccessMessageToUsers_id($msg, $users_id, $callbackJSFunction = '<string>') |
63 |
sendSocketMessageToAll($msg, $callbackJSFunction = "'<string>'") |
71 |
sendSocketMessageToNone($msg, $callbackJSFunction = "") |
76 |
getSocketConnectionLabel() |
81 |
getSocketVideoClassName($videos_id) |
103 |
getSocketLiveClassName($key, $live_servers_id) |
108 |
getSocketLiveLinksClassName($live_links_id) |
113 |
| Named function/method | Source line |
|---|---|
isAPIKeyValid() |
3 |
loadStandaloneConfiguration() |
86 |
| Named function/method | Source line |
|---|---|
getAVideoUpdateGitInfo($root) |
4 |
getAVideoUpdateGitHubData($path) |
30 |
getAVideoUpdateCommitStatus($localSha, $remoteSha, $comparison = null) |
51 |
getAVideoUpdateOverview($root, $fetch = null) |
65 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: ImagesPlaceHolders.
| Named function/method | Source line |
|---|---|
getComponent($type, $return = 0) |
39 |
supportsWebP() |
77 |
isDefaultImage($path) |
127 |
getImageIcon($return = 0) |
171 |
getImageLandscape($return = 0) |
176 |
getImagePortrait($return = 0) |
181 |
getImageNotFoundIcon($return = 0) |
186 |
getImageNotFoundLandscape($return = 0) |
191 |
getImageNotFoundPortrait($return = 0) |
196 |
getArticlesIcon($return = 0) |
201 |
getArticlesLandscape($return = 0) |
206 |
getArticlesPortrait($return = 0) |
211 |
getAudioIcon($return = 0) |
216 |
getAudioLandscape($return = 0) |
221 |
getAudioPortrait($return = 0) |
226 |
getPdfIcon($return = 0) |
231 |
getPdfLandscape($return = 0) |
236 |
getPdfPortrait($return = 0) |
241 |
getUserIcon($return = 0) |
246 |
getUserLandscape($return = 0) |
251 |
getUserPortrait($return = 0) |
256 |
getZipIcon($return = 0) |
261 |
getZipLandscape($return = 0) |
266 |
getZipPortrait($return = 0) |
271 |
getVideoPlaceholder($return = 0) |
276 |
getVideoPlaceholderPortrait($return = 0) |
280 |
getVideoNotFoundPoster($return = 0) |
284 |
getVideoAnimationLandscape($return = 0) |
288 |
getVideoAnimationPortrait($return = 0) |
292 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
| Named function/method | Source line |
|---|---|
includeConfigLog($line, $desc = '') |
86 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: Minifier.
| Named function/method | Source line |
|---|---|
minify($js, $options = []) |
115 |
minifyDirectToOutput($js, $options) |
151 |
initialize($js, $options) |
164 |
loop() |
199 |
clean() |
277 |
getChar() |
292 |
getReal() |
330 |
processOneLineComments($startIndex) |
362 |
processMultiLineComments($startIndex) |
385 |
getNext($string) |
439 |
saveString() |
462 |
saveRegex() |
536 |
isAlphaNumeric($char) |
565 |
lock($js) |
576 |
unlock($js) |
601 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: Like.
| Named function/method | Source line |
|---|---|
__construct($like, $videos_id) |
17 |
setLike($like) |
61 |
load() |
70 |
getLike() |
82 |
save() |
96 |
getLikes($videos_id) |
116 |
getTotalLikes() |
150 |
getMyVote($videos_id) |
172 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
| Named function/method | Source line |
|---|---|
localeTranslatorCheckLanguage($lang) |
36 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: Main.
| Named function/method | Source line |
|---|---|
dateMySQLToBrString($mySqlDate) |
9 |
dateBrStringToMySQL($date) |
33 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
| Named function/method | Source line |
|---|---|
safeURL($url) |
53 |
shortVideoURL($videos_id) |
66 |
commentToPlainText($commentWithLinks, $commentPlain) |
75 |
csvRow($fh, $row, $level = 0) |
98 |
renderRepliesRows($replies, $includeImages, $depth = 1) |
133 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: iimysqli_result, sqlDAL.
| Named function/method | Source line |
|---|---|
throwPaymentError($message, $code = 0, $stmt = null) |
53 |
executeFile($filename) |
65 |
writeSql($preparedStatement, $formats = "", $values = [], $try=0) |
115 |
writeSqlTry($preparedStatement, $formats = "", $values = []) |
302 |
wasSTMTError() |
337 |
readSql($preparedStatement, $formats = '', $values = [], $refreshCache = false) |
351 |
close($result) |
532 |
num_rows($res) |
552 |
cached_num_rows($data) |
580 |
fetchAllAssoc($result) |
591 |
fetchAssoc($result) |
617 |
fetchAllArray($result) |
660 |
fetchArray($result) |
689 |
eval_mysql_bind($stmt, $formats, $values) |
704 |
iimysqli_stmt_get_result($stmt) |
723 |
iimysqli_result_fetch_assoc(&$result) |
752 |
iimysqli_result_fetch_array(&$result) |
781 |
log_error($err) |
810 |
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