Documentation

vr_view_functions.php

Table of Contents

Functions

VrViewUseVR()  : bool
Check whether VR view is to be enabled for the specified resource
VrViewRenderPlayer()  : mixed

Functions

VrViewUseVR()

Check whether VR view is to be enabled for the specified resource

VrViewUseVR(array<string|int, mixed> $resource) : bool
Parameters
$resource : array<string|int, mixed>

Resource data array (not resource field data)

Tags
uses
get_resource_type_field()
get_data_by_field()
Return values
bool

VrViewRenderPlayer()

VrViewRenderPlayer(mixed $ref, mixed $source[, mixed $isvideo = false ][, mixed $width = 852 ][, mixed $height = 600 ][, mixed $parentdivid = "" ][, mixed $scope = "" ]) : mixed
Parameters
$ref : mixed
$source : mixed
$isvideo : mixed = false
$width : mixed = 852
$height : mixed = 600
$parentdivid : mixed = ""
$scope : mixed = ""
On this page

Search results