protected function getLinksFromPDF()
{
- $booleans = ['video_loop', 'video_auto_start', 'video_controls', 'video_sound_on', 'video_cc'];
+ $booleans = ['video_loop', 'video_auto_start', 'video_controls', 'video_sound_on', 'video_cc', 'video_autohide'];
$numbers = ['left', 'top', 'width', 'height'];
$links = [];
}
$link = ['uid' => self::makeUID()];
- $cols = ['page' => '', 'left' => '', 'top' => '', 'width' => '', 'height' => '', 'type' => '', 'to' => '', 'target' => '_blank', 'video_loop' => true, 'video_auto_start' => true, 'video_controls' => true, 'video_sound_on' => true, 'video_cc' => true, 'tooltip' => '', 'image_rollover' => '', 'numerotation' => 'physical', "inline" => true];
+ $cols = ['page' => '', 'left' => '', 'top' => '', 'width' => '', 'height' => '', 'type' => '', 'to' => '', 'target' => '_blank', 'video_loop' => true, 'video_auto_start' => true, 'video_controls' => true, 'video_sound_on' => true, 'video_cc' => true, 'video_autohide' => false, 'tooltip' => '', 'image_rollover' => '', 'numerotation' => 'physical', "inline" => true];
$k = 0;
$attr['loop'] = ($data->video_loop ? '1' : '0');
$attr['sound'] = ($data->video_sound_on ? '1' : '0');
$attr['cc'] = (($data->video_cc ?? '1') ? '1' : '0');
+ $attr['autohide'] = (($data->video_autohide ?? '1') ? '1' : '0');
$attr['hidelinksonplay'] = $data->hidelinksonplay;
$attr['link-id'] = $data->uid;
$attr['backgroundcolor'] = $data->backgroundColor ?? '#000000';