bunnynet_videolibrary
class bunnynet_videolibrary extends deprecated_item
Traits
Trait url_generator.
Constants
| PERPAGE |
|
| STATUS_ACTIVE |
|
| STATUS_CANCELED |
|
| STATUS_COMPLETED |
|
| STATUS_DELETED |
|
| STATUS_DISABLED |
|
| STATUS_DISAPPROVED |
|
| STATUS_ENABLED |
|
| STATUS_EXPIRED |
|
| STATUS_FAILED |
|
| STATUS_FINISH |
|
| STATUS_INACTIVE |
|
| STATUS_INPROGRESS |
|
| STATUS_NEW |
|
| STATUS_PAUSED |
|
| STATUS_PLAYED |
|
| STATUS_SYNC |
|
| TYPE |
|
Properties
| $id | |||
| $type | from deprecated_item | ||
| $timecreated | from deprecated_model | ||
| $timemodified | from deprecated_model | ||
| protected | $table | from deprecated_item | |
| protected | $table_metadata | from deprecated_item | |
| protected | $fillable | ||
| $contextid | from deprecated_item | ||
| $courseid | from deprecated_item | ||
| $userid | from deprecated_item | ||
| $parent | from deprecated_item | ||
| string | $fullname | The name of the Video Library. |
|
| string | $shortname | ||
| int | $idnumber | ||
| $description | from deprecated_item | ||
| $descriptionformat | from deprecated_item | ||
| $status | from deprecated_item | ||
| $visible | from deprecated_item | ||
| $guid | from deprecated_item | ||
| $sortorder | from deprecated_item | ||
| $version | from deprecated_item | ||
| $usermodified | from deprecated_item | ||
| int | $videoCount | The number of videos in the video library. |
|
| int | $trafficUsage | The amount of traffic usage this month. |
|
| int | $storageUsage | The total amount of storage used by the library. |
|
| DateTime | $dateCreated | The date when the video library was created. |
|
| string[] | $replicationRegions | The geo-replication regions of the underlying storage zone. |
|
| string | $apiKey | The API key used for authenticating with the video library. |
|
| string | $readOnlyApiKey | The read-only API key used for authenticating with the video library. |
|
| bool | $hasWatermark | Determines if the video library has a watermark configured. |
|
| int | $watermarkPositionLeft | The left offset of the watermark position (in %). |
|
| int | $watermarkPositionTop | The top offset of the watermark position (in %). |
|
| int | $watermarkWidth | The width of the watermark (in %). |
|
| int | $pullZoneId | The ID of the connected underlying pull zone. |
|
| int | $storageZoneId | The ID of the connected underlying storage zone. |
|
| int | $watermarkHeight | The height of the watermark (in %). |
|
| string | $enabledResolutions | The comma separated list of enabled resolutions. |
|
| string | $viAiPublisherId | The vi.ai publisher id for advertising configuration. |
|
| string | $vastTagUrl | The URL of the VAST tag endpoint for advertising configuration. |
|
| string | $webhookUrl | The webhook URL of the video library. |
|
| int | $captionsFontSize | The captions display font size. |
|
| string | $captionsFontColor | The captions display font color. |
|
| string | $captionsBackground | The captions display background color. |
|
| string | $uiLanguage | The UI language of the player. |
|
| bool | $allowEarlyPlay | Determines if the Early-Play feature is enabled. |
|
| bool | $playerTokenAuthenticationEnabled | Determines if player token authentication is enabled. |
|
| string[] | $allowedReferrers | The list of allowed referrer domains allowed to access the library. |
|
| string[] | $blockedReferrers | The list of blocked referrer domains blocked from accessing the library. |
|
| bool | $blockNoneReferrer | Determines if requests without a referrer are blocked. |
|
| bool | $enableMP4Fallback | Determines if the MP4 fallback feature is enabled. |
|
| bool | $keepOriginalFiles | Determines if the original video files should be stored after encoding. |
|
| bool | $allowDirectPlay | Determines if direct play URLs are enabled for the library. |
|
| bool | $enableDRM | Determines if the MediaCage basic DRM is enabled. |
|
| int | $bitrate240p | The bitrate used for encoding 240p videos. |
|
| int | $bitrate360p | The bitrate used for encoding 360p videos. |
|
| int | $bitrate480p | The bitrate used for encoding 480p videos. |
|
| int | $bitrate720p | The bitrate used for encoding 720p videos. |
|
| int | $bitrate1080p | The bitrate used for encoding 1080p videos. |
|
| int | $bitrate1440p | The bitrate used for encoding 1440p videos. |
|
| int | $bitrate2160p | The bitrate used for encoding 2160p videos. |
|
| string | $apiAccessKey | The API access key for the library. |
|
| bool | $showHeatmap | Determines if the video watch heatmap should be displayed in the player. |
|
| bool | $enableContentTagging | Determines if content tagging should be enabled for this library. |
|
| int | $pullZoneType | The pull zone type: 0 = Premium 1 = Volume Default: 1 |
|
| string | $customHTML | The custom HTML that is added into the head of the HTML player. |
|
| string | $controls | The list of controls on the video player. |
|
| string | $playerKeyColor | The key color of the player. |
|
| string | $fontFamily | The captions font family. |
|
| int | $watermarkVersion | The version of the watermark. |
|
| bool | $enableTranscribing | Determines if the automatic audio transcribing is currently enabled for this zone. |
|
| bool | $enableTranscribingTitleGeneration | Determines if automatic transcribing title generation is currently enabled. |
|
| bool | $enableTranscribingDescriptionGeneration | Determines if automatic transcribing description generation is currently enabled. |
|
| string[] | $transcribingCaptionLanguages | The list of languages that the captions will be automatically transcribed to. |
Methods
Generate a URL based on the Symfony route name and parameters.
Generate a webhook URL.
No description
Update the model with form data.
No description
No description
Set metadata key-value pair.
Get file associated with the model.
No description
No description
Cria uma nova biblioteca no Bunny.net.
No description
No description
No description
No description
No description
Atualiza a listagem de bibliotecas.
Atualiza única biblioteca de vídeos.
Atualiza as coleções de uma biblioteca.
Atualiza os vídeos de uma biblioteca.
Cria um novo vídeo para a biblioteca.
Carrega um novo vídeo para a biblioteca.
Carrega um novo vídeo para a biblioteca.
Details
in
url_generator at line 42
static moodle_url
url_generator(string $route, array $parameters = [], int $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH)
Generate a URL based on the Symfony route name and parameters.
in
url_generator at line 56
static moodle_url
webhook_url_generator(string $route, array $parameters = [], int $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH)
Generate a webhook URL.
at line 421
__construct($id = null)
No description
in
deprecated_model at line 116
__clone()
No description
in
deprecated_model at line 121
string|null
get_path()
No description
in
deprecated_model at line 128
string|null
get_table()
No description
in
deprecated_model at line 137
string
get_table_metadata()
No description
in
deprecated_model at line 151
deprecated_model_interface
update(array $formdata = [])
Update the model with form data.
in
deprecated_model at line 165
bool
delete()
No description
in
deprecated_model at line 172
array
all()
No description
in
deprecated_model at line 193
array
get_records(array $searchcriteria, int $page, int $totalcount, string $sort = '', int $perpage = 0)
No description
in
deprecated_model at line 302
array
get_items(array $searchcriteria, int $page, int $totalcount, string $sort = '', bool $includedeleted = false, int $perpage = 0)
No description
in
deprecated_model at line 414
mixed
get_meta(string $meta_key)
Get metadata value by key.
in
deprecated_model at line 428
array
get_all_metadata()
No description
in
deprecated_model at line 456
void
set_meta(string $meta_key, mixed $meta_value)
Set metadata key-value pair.
in
deprecated_model at line 478
void
set_metas(array $metas)
Set multiple metadata key-value pairs.
in
deprecated_model at line 497
mixed
get_file(object $context, string $component, string $filearea, bool $validimage = false)
Get file associated with the model.
in
deprecated_model at line 523
static mixed
get_fileurl(object $file)
Get file URL.
in
deprecated_model at line 544
protected false|mixed|stdClass
get($id)
Get record by ID.
in
deprecated_model at line 560
protected false|mixed|stdClass
get_by_idnumber($idnumber)
Get record by idnumber.
in
deprecated_model at line 575
protected
save()
No description
in
deprecated_model at line 616
static protected deprecated_model
from_record(stdClass $r)
No description
in
deprecated_item at line 105
void
load(bool $reload = false)
No description
in
deprecated_item at line 116
bool
enabled()
No description
in
deprecated_item at line 121
bool
disabled()
No description
in
deprecated_item at line 129
bool
deleted()
No description
in
deprecated_item at line 148
static
get_item_or_create(int|string|null $contextid, string $type = '')
No description
in
deprecated_item at line 190
array
get_items_by_metadata(array $searchcriteriaitem, array $searchcriteriameta, int $page, int $totalcount, string|null $sort = '', bool $includedeleted = false, int $perpage = 0)
deprecated
deprecated
No description
at line 432
static void
add_videolibrary(mixed $body)
Cria uma nova biblioteca no Bunny.net.
at line 440
static void
create_or_update(array $videoLibrary)
No description
at line 470
static void
streammode_force_single()
No description
at line 484
moodle_url
get_url()
No description
at line 494
array
get_videos()
No description
at line 519
static array
get_list()
No description
at line 554
static void
update_videolibraries()
Atualiza a listagem de bibliotecas.
at line 572
void
update_videolibrary()
Atualiza única biblioteca de vídeos.
at line 583
void
update_collections()
Atualiza as coleções de uma biblioteca.
at line 597
void
update_videos()
Atualiza os vídeos de uma biblioteca.
at line 614
bunnynet_videos|false
create_video(mixed $filename)
Cria um novo vídeo para a biblioteca.
at line 632
bool|null
upload_video(mixed $filename, mixed $filecontent)
Carrega um novo vídeo para a biblioteca.
at line 662
getVideoPlayData(mixed $videoId, mixed $query = [])
Carrega um novo vídeo para a biblioteca.