Version Description
(26-03-2020) = * Auto device based gyro enable added
=
Download this release
Release Info
Developer | rextheme |
Plugin | ![]() |
Version | 5.1.0 |
Comparing to | |
See all releases |
Code changes from version 5.0.0 to 5.1.0
- README.txt +5 -2
- public/class-wpvr-public.php +3 -1
- wpvr.php +4 -2
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-fo
|
|
4 |
Tags: virtual tour, real estate tour, panorama, panorama viewer, virtual tour, 360 panorama, interactive tour
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.3
|
7 |
-
Stable tag: 5.
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -336,7 +336,7 @@ Simply add "/plugins/wpvr" to exclusion field (or use the location where you sto
|
|
336 |
|
337 |
= 4.2.0 =
|
338 |
* Keyboard control switch added
|
339 |
-
*
|
340 |
|
341 |
= 4.3.0 =
|
342 |
* Draggable switch added
|
@@ -367,5 +367,8 @@ Simply add "/plugins/wpvr" to exclusion field (or use the location where you sto
|
|
367 |
= 5.0.0 =
|
368 |
* Home button added to return to default scene
|
369 |
|
|
|
|
|
|
|
370 |
== Upgrade Notice ==
|
371 |
Please do update the WP VR to the latest version. Each update makes it sure your plugin is supporting all tour features.
|
4 |
Tags: virtual tour, real estate tour, panorama, panorama viewer, virtual tour, 360 panorama, interactive tour
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.3
|
7 |
+
Stable tag: 5.1.0
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
336 |
|
337 |
= 4.2.0 =
|
338 |
* Keyboard control switch added
|
339 |
+
* Font-Awesome conflict fix
|
340 |
|
341 |
= 4.3.0 =
|
342 |
* Draggable switch added
|
367 |
= 5.0.0 =
|
368 |
* Home button added to return to default scene
|
369 |
|
370 |
+
= 5.1.0 (26-03-2020) =
|
371 |
+
* Auto device based gyro enable added
|
372 |
+
|
373 |
== Upgrade Notice ==
|
374 |
Please do update the WP VR to the latest version. Each update makes it sure your plugin is supporting all tour features.
|
public/class-wpvr-public.php
CHANGED
@@ -331,8 +331,10 @@ class Wpvr_Public {
|
|
331 |
}
|
332 |
|
333 |
$gyro = false;
|
|
|
334 |
if (isset($postdata['gyro'])) {
|
335 |
$gyro = $postdata['gyro'];
|
|
|
336 |
}
|
337 |
|
338 |
$compass = false;
|
@@ -621,7 +623,7 @@ class Wpvr_Public {
|
|
621 |
$pano_id_array = array();
|
622 |
$pano_id_array = array("panoid"=>$panoid);
|
623 |
$pano_response = array();
|
624 |
-
$pano_response = array("autoLoad"=>$autoload,"showControls"=>$control,"orientationSupport"=>'false',"compass"=>$compass,"mouseZoom"=>$mouseZoom,"draggable"=>$draggable,'disableKeyboardCtrl'=>$diskeyboard,"preview"=>$preview,"autoRotate"=>$autorotation,"autoRotateInactivityDelay"=>$autorotationinactivedelay,"autoRotateStopDelay"=>$autorotationstopdelay,"default"=>$default_data,"scenes"=>$scene_data);
|
625 |
|
626 |
if (empty($autorotation)) {
|
627 |
unset($pano_response['autoRotate']);
|
331 |
}
|
332 |
|
333 |
$gyro = false;
|
334 |
+
$gyro_orientation = false;
|
335 |
if (isset($postdata['gyro'])) {
|
336 |
$gyro = $postdata['gyro'];
|
337 |
+
$gyro_orientation = false;
|
338 |
}
|
339 |
|
340 |
$compass = false;
|
623 |
$pano_id_array = array();
|
624 |
$pano_id_array = array("panoid"=>$panoid);
|
625 |
$pano_response = array();
|
626 |
+
$pano_response = array("autoLoad"=>$autoload,"showControls"=>$control,"orientationSupport"=>'false',"compass"=>$compass,'orientationOnByDefault'=>$gyro_orientation,"mouseZoom"=>$mouseZoom,"draggable"=>$draggable,'disableKeyboardCtrl'=>$diskeyboard,"preview"=>$preview,"autoRotate"=>$autorotation,"autoRotateInactivityDelay"=>$autorotationinactivedelay,"autoRotateStopDelay"=>$autorotationstopdelay,"default"=>$default_data,"scenes"=>$scene_data);
|
627 |
|
628 |
if (empty($autorotation)) {
|
629 |
unset($pano_response['autoRotate']);
|
wpvr.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: WP VR
|
17 |
* Plugin URI: https://rextheme.com/wpvr/
|
18 |
* Description: WP VR - 360 Panorama and virtual tour creator for WordPress is a customized panaroma & virtual builder tool for WordPress Website.
|
19 |
-
* Version: 5.
|
20 |
* Author: Rextheme
|
21 |
* Author URI: http://rextheme.com/
|
22 |
* License: GPL-2.0+
|
@@ -302,8 +302,10 @@ function wpvr_block_render( $attributes ) {
|
|
302 |
}
|
303 |
|
304 |
$gyro = false;
|
|
|
305 |
if (isset($postdata['gyro'])) {
|
306 |
$gyro = $postdata['gyro'];
|
|
|
307 |
}
|
308 |
|
309 |
$compass = false;
|
@@ -593,7 +595,7 @@ function wpvr_block_render( $attributes ) {
|
|
593 |
$pano_id_array = array();
|
594 |
$pano_id_array = array('panoid'=>$panoid);
|
595 |
$pano_response = array();
|
596 |
-
$pano_response = array('autoLoad'=>$autoload,'showControls'=>$control,'compass'=>$compass,'mouseZoom'=>$mouseZoom,'draggable'=>$draggable,'disableKeyboardCtrl'=>$diskeyboard,"preview"=>$preview,"autoRotate"=>$autorotation,"autoRotateInactivityDelay"=>$autorotationinactivedelay,"autoRotateStopDelay"=>$autorotationstopdelay,'default'=>$default_data,'scenes'=>$scene_data);
|
597 |
if (empty($autorotation)) {
|
598 |
unset($pano_response['autoRotate']);
|
599 |
unset($pano_response['autoRotateInactivityDelay']);
|
16 |
* Plugin Name: WP VR
|
17 |
* Plugin URI: https://rextheme.com/wpvr/
|
18 |
* Description: WP VR - 360 Panorama and virtual tour creator for WordPress is a customized panaroma & virtual builder tool for WordPress Website.
|
19 |
+
* Version: 5.1.0
|
20 |
* Author: Rextheme
|
21 |
* Author URI: http://rextheme.com/
|
22 |
* License: GPL-2.0+
|
302 |
}
|
303 |
|
304 |
$gyro = false;
|
305 |
+
$gyro_orientation = false;
|
306 |
if (isset($postdata['gyro'])) {
|
307 |
$gyro = $postdata['gyro'];
|
308 |
+
$gyro_orientation = true;
|
309 |
}
|
310 |
|
311 |
$compass = false;
|
595 |
$pano_id_array = array();
|
596 |
$pano_id_array = array('panoid'=>$panoid);
|
597 |
$pano_response = array();
|
598 |
+
$pano_response = array('autoLoad'=>$autoload,'showControls'=>$control,'compass'=>$compass,'orientationOnByDefault'=>$gyro_orientation,'mouseZoom'=>$mouseZoom,'draggable'=>$draggable,'disableKeyboardCtrl'=>$diskeyboard,"preview"=>$preview,"autoRotate"=>$autorotation,"autoRotateInactivityDelay"=>$autorotationinactivedelay,"autoRotateStopDelay"=>$autorotationstopdelay,'default'=>$default_data,'scenes'=>$scene_data);
|
599 |
if (empty($autorotation)) {
|
600 |
unset($pano_response['autoRotate']);
|
601 |
unset($pano_response['autoRotateInactivityDelay']);
|