Skip to content

Technical Plugin Video_Location_Block

Daniel Neto edited this page Oct 29, 2026 · 1 revision

Technical: Video_Location_Block plugin

Applies configured country-based availability decisions.

Audience: developers, advanced administrators and AI-assisted diagnosis. Plugin catalog.

Source baseline

  • Review date: 2026-10-29. Method: static source analysis; runtime/provider behavior was not exercised.
  • Code ownership: independently versioned plugin repository.
  • Reported version: 4.3.
  • Source revision: 13f0876d84a0b22093cd1ccceb4735824782a583.
  • Entry class file: Video_Location_Block.php.

Confirm the installed plugin version independently of the Streamer version. Configuration defaults below are not a dump of this installation's saved settings.

Dependencies

No literal dependency declaration was extracted. This does not prove the plugin is standalone.

Literal runtime plugin references: User_Location. These calls do not mean every referenced plugin is mandatory.

Hook integration

Override Implementation
getTags() Video_Location_Block.php:38
getVideoWhereClause() Video_Location_Block.php:78
getManagerVideosAddNew() Video_Location_Block.php:98
getManagerVideosReset() Video_Location_Block.php:103
getManagerVideosEdit() Video_Location_Block.php:108
getManagerVideosTab() Video_Location_Block.php:115
getManagerVideosBody() Video_Location_Block.php:120
saveVideosAddNew($post, $videos_id) Video_Location_Block.php:126
getAllVideosArray($videos_id) Video_Location_Block.php:152
getModeYouTube($videos_id) Video_Location_Block.php:159
getEmbed($videos_id) Video_Location_Block.php:167

Configuration assignments

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.

No direct $obj->field assignments were extracted. Inspect inherited defaults, getCustomizeAdvancedOptions() and the plugin-specific settings page.

Files and request surface

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/VideoLocationBlock.php class/helper implementation —
Video_Location_Block.php plugin entry class —
install/install.sql schema/migration SQL —
install/updateV4.2.sql schema/migration SQL —
view/tabBody.php PHP page/include/worker; inspect caller —

Data and migrations

Tables named in available CREATE TABLE statements: videos_location_block. Apply installation/update behavior through the owning plugin; this reference is not a script for running historical migrations manually.

Main-file named symbols

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() 9
getName() 16
getUUID() 21
getPluginVersion() 26
getEmptyDataObject() 31
getTags() 38
getCountryName() 43
isVideoAvailable($videos_id) 53
getVideoWhereClause() 78
getManagerVideosAddNew() 98
getManagerVideosReset() 103
getManagerVideosEdit() 108
getManagerVideosTab() 115
getManagerVideosBody() 120
saveVideosAddNew($post, $videos_id) 126
getAllVideosArray($videos_id) 152
getModeYouTube($videos_id) 159
getEmbed($videos_id) 167

Supporting PHP declarations

These symbols are grouped by source file; inspect the class declaration and visibility before calling them.

Objects/VideoLocationBlock.php

Declared classes: VideoLocationBlock.

Named symbol Source
getSearchFieldsNames() 11
getTableName() 15
getCountry_name() 19
getVideos_id() 23
setCountry_name($country_name) 27
setVideos_id($videos_id) 31
laodFromVideoIdCountry($videos_id, $country) 37
getFromDbVideoIdCountry($videos_id, $country) 48
getFromDbVideoId($videos_id) 63
deleteAllFromVideo($videos_id) 80

view/tabBody.php

Named symbol Source
createCountrySelectorsString($countriesNames) 4
getSwitchArray($name, $countriesNames) 13

Diagnostics and validation

  1. Check the installed/enabled version and the dependencies/settings above.
  2. Identify the actual failing page, request, callback or worker and correlate its timestamp with the AVideo log.
  3. Follow the linked method and caller. Check business-state changes and output artifacts as well as HTTP status.
  4. 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.

Clone this wiki locally