Social forum

Increase Video width and height equal to slide size

 
Picture of Vinoth Kannan
Increase Video width and height equal to slide size
by Vinoth Kannan - Tuesday, 7 January 2014, 3:42 AM
 

Hi All,

In Autoview the video size is small than the slide size. Can we increase the width and height of the video screen in autoview such that slide size and video size are equal by default.

We use Moodle 2.4.2 and latest release of autoview.

Thanks in advance

Picture of Tim Williams
Re: Increase Video width and height equal to slide size
by Tim Williams - Monday, 20 January 2014, 10:09 PM
 
Hello,

If you put the following into the "JavaScript Calls autoview_js_extras" box on the Module settings page in Site Administration, then this will change the default video size to the maximum supported:


setVideoSize(0.37,1);


The first parameter can be any number between 0.17 and 0.37, with 0.05 increments, this controls the ratio between the video and the slides. Other numbers may cause problems! Leave the second parameter as 1.

Please be careful adding code to this box, a typo here could break AutoView site-wide.