WP VR – 360 Panorama and virtual tour creator for WordPress - Version 7.2.9

Version Description

(25-05-2021) = New: Warning message added for Street View tab. Tweak: Rollback versions updated.

Download this release

Release Info

Developer rextheme
Plugin Icon 128x128 WP VR – 360 Panorama and virtual tour creator for WordPress
Version 7.2.9
Comparing to
See all releases

Code changes from version 7.2.8 to 7.2.9

README.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-fo
5
  Requires at least: 5.0
6
  Tested up to: 5.7
7
  Requires PHP: 7.0.0
8
- Stable tag: 7.2.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -302,6 +302,10 @@ Simply add “/plugins/wpvr” to the exclusion field (or use the location where
302
 
303
  == Changelog ==
304
 
 
 
 
 
305
  = 7.2.8 (06-05-2021) =
306
  * Fix: PHP Warnings on Backend & Frontend
307
  * Fix: Audio Issue for self-hosted videos on hotspots
@@ -312,7 +316,7 @@ Simply add “/plugins/wpvr” to the exclusion field (or use the location where
312
  * New: Preview Image Text is made dynamic.
313
  * New: On the Hotspots tab, the active Scene ID will be mentioned.
314
  * Fix: Elementor Widget Issue.
315
- * Fix: Preview Image Test font mismatch.
316
 
317
  = 7.2.6 (22-03-2021) =
318
  * Tweak: Rollback versions updated
5
  Requires at least: 5.0
6
  Tested up to: 5.7
7
  Requires PHP: 7.0.0
8
+ Stable tag: 7.2.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
302
 
303
  == Changelog ==
304
 
305
+ = 7.2.9 (25-05-2021) =
306
+ New: Warning message added for Street View tab.
307
+ Tweak: Rollback versions updated.
308
+
309
  = 7.2.8 (06-05-2021) =
310
  * Fix: PHP Warnings on Backend & Frontend
311
  * Fix: Audio Issue for self-hosted videos on hotspots
316
  * New: Preview Image Text is made dynamic.
317
  * New: On the Hotspots tab, the active Scene ID will be mentioned.
318
  * Fix: Elementor Widget Issue.
319
+ * Fix: Preview Image Text font mismatch.
320
 
321
  = 7.2.6 (22-03-2021) =
322
  * Tweak: Rollback versions updated
admin/class-wpvr-admin.php CHANGED
@@ -2145,7 +2145,6 @@ class Wpvr_Admin
2145
  $html .= '</div>';
2146
  } else {
2147
  $html .= '<div data-repeater-item class="single-hotspot rex-pano-tab clearfix" id="scene-'.$s.'-hotspot-'.$h.'">';
2148
-
2149
  $html .= '<h6 class="title"><i class="fa fa-cog"></i> Hotspot Setting</h6>';
2150
 
2151
  $html .= '<div class="wrapper">';
2145
  $html .= '</div>';
2146
  } else {
2147
  $html .= '<div data-repeater-item class="single-hotspot rex-pano-tab clearfix" id="scene-'.$s.'-hotspot-'.$h.'">';
 
2148
  $html .= '<h6 class="title"><i class="fa fa-cog"></i> Hotspot Setting</h6>';
2149
 
2150
  $html .= '<div class="wrapper">';
admin/class-wpvr-ajax.php CHANGED
@@ -428,7 +428,7 @@ class Wpvr_Ajax {
428
 
429
  if(!$hotspot_content) $hotspot_content = $hotspot_data["hotspot-content"];
430
 
431
-
432
  $hotspot_info = array(
433
  "text"=>$hotspot_data["hotspot-title"],
434
  "pitch"=>$hotspot_data["hotspot-pitch"],
@@ -546,7 +546,6 @@ class Wpvr_Ajax {
546
  // }
547
  $response = array();
548
  $response = array($pano_id_array,$pano_response);
549
-
550
  wp_send_json_success( $response );
551
  }
552
 
@@ -869,7 +868,10 @@ class Wpvr_Ajax {
869
  }
870
 
871
  $gyro = false;
872
- $gyro = sanitize_text_field($_POST['gyro']);
 
 
 
873
  $deviceorientationcontrol = sanitize_text_field($_POST['deviceorientationcontrol']);
874
 
875
  if ($gyro == 'on') {
428
 
429
  if(!$hotspot_content) $hotspot_content = $hotspot_data["hotspot-content"];
430
 
431
+
432
  $hotspot_info = array(
433
  "text"=>$hotspot_data["hotspot-title"],
434
  "pitch"=>$hotspot_data["hotspot-pitch"],
546
  // }
547
  $response = array();
548
  $response = array($pano_id_array,$pano_response);
 
549
  wp_send_json_success( $response );
550
  }
551
 
868
  }
869
 
870
  $gyro = false;
871
+ if( isset($_POST['gyro']) ){
872
+ $gyro = sanitize_text_field($_POST['gyro']);
873
+ }
874
+
875
  $deviceorientationcontrol = sanitize_text_field($_POST['deviceorientationcontrol']);
876
 
877
  if ($gyro == 'on') {
admin/js/wpvr-admin.js CHANGED
@@ -31,6 +31,7 @@
31
  * practising this, we should strive to set a better example in our own work.
32
  */
33
 
 
34
  $(document).ready(function() {
35
  $(".vrowl-carousel").owlCarousel({
36
  margin: 10,
@@ -55,7 +56,7 @@
55
  $(this).val('off');
56
  }
57
  });
58
-
59
 
60
  $(document).on("click", ".scene-nav ul li span", function(event) {
61
  $('.owl-item').removeClass('marked');
@@ -764,26 +765,78 @@
764
  }
765
  });
766
 
 
767
  $(document).on("change", "input[type=radio][name=panovideo]", function(event) {
768
  var getvalue = $(this).val();
769
  if (getvalue == 'on') {
770
- $(".video-setting").show();
771
- $("li.general").hide();
772
- $("li.scene").hide();
773
- $("li.hotspot").hide();
774
- $("li.streetview").hide();
775
  } else {
776
- $(".video-setting").hide();
 
 
777
  $("li.general").show();
778
  $("li.scene").show();
779
  $("li.hotspot").show();
780
  $("li.streetview").show();
781
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
782
  });
783
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
784
  jQuery(document).ready(function($) {
785
  var viddata = $("input[name='panovideo']:checked").val();
786
  if (viddata == 'on') {
 
787
  $("li.general").removeClass('active');
788
  $(".rex-pano-tab.general").removeClass('active');
789
  $("li.video").addClass('active');
@@ -793,7 +846,7 @@
793
  $("li.scene").hide();
794
  $("li.hotspot").hide();
795
  } else {
796
- $(".video-setting").hide();
797
  $("li.general").show();
798
  $("li.scene").show();
799
  $("li.hotspot").show();
@@ -1039,7 +1092,6 @@
1039
 
1040
  jQuery(document).ready(function($) {
1041
  var autrotateset = $("input[name='autorotation']").val();
1042
-
1043
  if (autrotateset == 'off') {
1044
  $('.autorotationdata-wrapper').hide();
1045
  } else {
@@ -1216,37 +1268,74 @@
1216
  $(this_id).siblings().hide();
1217
  });
1218
 
1219
- $(".video").on("click", function(e) {
1220
- $('.sceneid').each(function() {
1221
- var val = $(this).val();
1222
- if (val) {
1223
- // confirm('Your previous data will be lost');
1224
- var status = $("input[name='panovideo']:checked").val();
1225
- if ("on" == status) {
1226
- $('.wpvr-delete-alert-wrapper').css('display', 'flex');
1227
- } else {
1228
- $('.wpvr-delete-alert-wrapper').css('display', 'none');
1229
- }
1230
-
1231
- $(document).on("click", ".wpvr-delete-confirm-btn .cancel", function(e) {
1232
- e.preventDefault();
1233
- $('.wpvr-delete-alert-wrapper').css('display', 'none');
1234
- $('.wpvr-delete-alert-wrapper').hide();
1235
-
1236
- $(".video_on").prop('checked', false);
1237
- $(".video_off").prop('checked', true);
1238
-
1239
- $(".video-setting").hide();
1240
- $("li.general").show();
1241
- $("li.scene").show();
1242
- $("li.hotspot").show();
1243
- });
1244
-
1245
-
1246
-
1247
- }
1248
- });
1249
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1250
 
1251
  /**
1252
  * Nasim
@@ -1258,12 +1347,12 @@
1258
  * Nasim
1259
  * confirmation alert - yes
1260
  */
1261
- $(document).on("click", ".wpvr-delete-confirm-btn .yes", function(e) {
1262
- e.preventDefault();
1263
- $('.wpvr-delete-alert-wrapper').css('display', 'none');
1264
- $('.wpvr-delete-alert-wrapper').hide();
1265
- return false;
1266
- });
1267
 
1268
 
1269
  });
31
  * practising this, we should strive to set a better example in our own work.
32
  */
33
 
34
+
35
  $(document).ready(function() {
36
  $(".vrowl-carousel").owlCarousel({
37
  margin: 10,
56
  $(this).val('off');
57
  }
58
  });
59
+
60
 
61
  $(document).on("click", ".scene-nav ul li span", function(event) {
62
  $('.owl-item').removeClass('marked');
765
  }
766
  });
767
 
768
+
769
  $(document).on("change", "input[type=radio][name=panovideo]", function(event) {
770
  var getvalue = $(this).val();
771
  if (getvalue == 'on') {
772
+ $('#confirm_text').html('Turning On The Video Option Will Erase Your Virtual Tour Data. Are You Sure?');
773
+ $('.wpvr-delete-alert-wrapper').css('display', 'flex');
 
 
 
774
  } else {
775
+ $('.wpvr-delete-alert-wrapper').css('display', 'none');
776
+ // $(".video-setting").hide();
777
+
778
  $("li.general").show();
779
  $("li.scene").show();
780
  $("li.hotspot").show();
781
  $("li.streetview").show();
782
  }
783
+
784
+ $(document).on("click", ".wpvr-delete-confirm-btn .cancel", function(e) {
785
+ e.preventDefault();
786
+ $('.wpvr-delete-alert-wrapper').css('display', 'none');
787
+ $('.wpvr-delete-alert-wrapper').hide();
788
+
789
+ $(".video_on").prop('checked', false);
790
+ $(".video_off").prop('checked', true);
791
+
792
+ $("li.general").show();
793
+ $("li.scene").show();
794
+ $("li.hotspot").show();
795
+ $("li.streetview").show();
796
+
797
+
798
+ });
799
+
800
+ $(document).on("click", ".wpvr-delete-confirm-btn .yes", function(e) {
801
+ e.preventDefault();
802
+ $('.wpvr-delete-alert-wrapper').css('display', 'none');
803
+ $('.wpvr-delete-alert-wrapper').hide();
804
+
805
+ $(".video_off").prop('checked', false);
806
+ $(".video_on").prop('checked', true);
807
+ $(".video-setting").show();
808
+ $("li.general").hide();
809
+ $("li.scene").hide();
810
+ $("li.hotspot").hide();
811
+ $("li.streetview").hide();
812
+
813
+ });
814
  });
815
 
816
+
817
+ // $(document).on("change", "input[type=radio][name=panovideo]", function(event) {
818
+ // var getvalue = $(this).val();
819
+
820
+ // if (getvalue == 'on') {
821
+
822
+ // $(".video-setting").show();
823
+ // $("li.general").hide();
824
+ // $("li.scene").hide();
825
+ // $("li.hotspot").hide();
826
+ // $("li.streetview").hide();
827
+ // } else {
828
+ // $(".video-setting").hide();
829
+ // $("li.general").show();
830
+ // $("li.scene").show();
831
+ // $("li.hotspot").show();
832
+ // $("li.streetview").show();
833
+ // }
834
+ // });
835
+
836
  jQuery(document).ready(function($) {
837
  var viddata = $("input[name='panovideo']:checked").val();
838
  if (viddata == 'on') {
839
+
840
  $("li.general").removeClass('active');
841
  $(".rex-pano-tab.general").removeClass('active');
842
  $("li.video").addClass('active');
846
  $("li.scene").hide();
847
  $("li.hotspot").hide();
848
  } else {
849
+ // $(".video-setting").hide();
850
  $("li.general").show();
851
  $("li.scene").show();
852
  $("li.hotspot").show();
1092
 
1093
  jQuery(document).ready(function($) {
1094
  var autrotateset = $("input[name='autorotation']").val();
 
1095
  if (autrotateset == 'off') {
1096
  $('.autorotationdata-wrapper').hide();
1097
  } else {
1268
  $(this_id).siblings().hide();
1269
  });
1270
 
1271
+ // $(".video").on("click", function(e) {
1272
+ // $('.sceneid').each(function() {
1273
+ // var val = $(this).val();
1274
+ // if (val) {
1275
+ // // confirm('Your previous data will be lost');
1276
+ // var status = $("input[name='panovideo']:checked").val();
1277
+ // console.log(status);
1278
+ // if ("on" == status) {
1279
+ // $('.wpvr-delete-alert-wrapper').css('display', 'flex');
1280
+ // } else {
1281
+ // $('.wpvr-delete-alert-wrapper').css('display', 'none');
1282
+ // }
1283
+
1284
+ // $(document).on("click", ".wpvr-delete-confirm-btn .cancel", function(e) {
1285
+ // e.preventDefault();
1286
+ // $('.wpvr-delete-alert-wrapper').css('display', 'none');
1287
+ // $('.wpvr-delete-alert-wrapper').hide();
1288
+
1289
+ // $(".video_on").prop('checked', false);
1290
+ // $(".video_off").prop('checked', true);
1291
+
1292
+ // $(".video-setting").hide();
1293
+ // $("li.general").show();
1294
+ // $("li.scene").show();
1295
+ // $("li.hotspot").show();
1296
+ // });
1297
+
1298
+
1299
+
1300
+ // }
1301
+ // });
1302
+ // });
1303
+ // $(".video").on("click", function(e) {
1304
+ // $(document).on("change", "input[type=radio][name=panovideo]", function(event) {
1305
+ // var getvalue = $(this).val();
1306
+ // if (getvalue == 'on') {
1307
+ // console.log("fgfg")
1308
+ // $('#confirm_text').html('Turning On The Video Option Will Erase Your Virtual Tour Data. Are You Sure?');
1309
+ // $('.wpvr-delete-alert-wrapper').css('display', 'flex');
1310
+
1311
+ // } else {
1312
+ // $('.wpvr-delete-alert-wrapper').css('display', 'none');
1313
+
1314
+ // }
1315
+
1316
+ // $(document).on("click", ".wpvr-delete-confirm-btn .cancel", function(e) {
1317
+ // e.preventDefault();
1318
+ // $('.wpvr-delete-alert-wrapper').css('display', 'none');
1319
+ // $('.wpvr-delete-alert-wrapper').hide();
1320
+
1321
+ // $(".video_on").prop('checked', false);
1322
+ // $(".video_off").prop('checked', true);
1323
+ // $(".video-setting").hide();
1324
+ // $("li.general").show();
1325
+ // $("li.scene").show();
1326
+ // $("li.hotspot").show();
1327
+
1328
+ // });
1329
+
1330
+ // $(document).on("click", ".wpvr-delete-confirm-btn .yes", function(e) {
1331
+ // e.preventDefault();
1332
+ // $('.wpvr-delete-alert-wrapper').css('display', 'none');
1333
+ // $('.wpvr-delete-alert-wrapper').hide();
1334
+ // return false;
1335
+
1336
+ // });
1337
+ // });
1338
+ // });
1339
 
1340
  /**
1341
  * Nasim
1347
  * Nasim
1348
  * confirmation alert - yes
1349
  */
1350
+ // $(document).on("click", ".wpvr-delete-confirm-btn .yes", function(e) {
1351
+ // e.preventDefault();
1352
+ // $('.wpvr-delete-alert-wrapper').css('display', 'none');
1353
+ // $('.wpvr-delete-alert-wrapper').hide();
1354
+ // return false;
1355
+ // });
1356
 
1357
 
1358
  });
admin/partials/wpvr-meta-box-builder-display.php CHANGED
@@ -21,7 +21,6 @@ $post = get_post();
21
  $id = $post->ID;
22
 
23
  $postdata = get_post_meta( $id, 'panodata', true );
24
-
25
  $panoid = 'pano'.$id;
26
 
27
  if (isset($postdata['vidid'])) {
21
  $id = $post->ID;
22
 
23
  $postdata = get_post_meta( $id, 'panodata', true );
 
24
  $panoid = 'pano'.$id;
25
 
26
  if (isset($postdata['vidid'])) {
admin/partials/wpvr_confirmation_alert.php CHANGED
@@ -7,7 +7,7 @@
7
  <path d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75" />
8
  </svg>
9
  </span>
10
- <h3><?php echo __('Turning On The Video Option Will Erase Your Virtual Tour Data. Are You Sure?', 'wpvr'); ?></h3>
11
  <ul class="wpvr-delete-confirm-btn">
12
  <li><button class="btn-default cancel"><?php echo __('Cancel', 'wpvr'); ?></button></li>
13
  <li>
7
  <path d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75" />
8
  </svg>
9
  </span>
10
+ <h3 id="confirm_text"><?php echo __('Turning On The Video Option Will Erase Your Virtual Tour Data. Are You Sure?', 'wpvr'); ?></h3>
11
  <ul class="wpvr-delete-confirm-btn">
12
  <li><button class="btn-default cancel"><?php echo __('Cancel', 'wpvr'); ?></button></li>
13
  <li>
admin/partials/wpvr_documentation.php CHANGED
@@ -728,11 +728,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
728
  <form class="wpvr-version">
729
  <h6><?php _e('Select a Version to Rollback','wpvr'); ?></h6>
730
  <select name="wpvr_version">
 
731
  <option value="7.2.7">7.2.7</option>
732
  <option value="7.2.6">7.2.6</option>
733
  <option value="7.2.5">7.2.5</option>
734
  <option value="7.2.4">7.2.4</option>
735
- <option value="7.2.3">7.2.3</option>
736
  </select>
737
  <input class="wpvr-btn" type="submit" value="Rollback">
738
  </form>
728
  <form class="wpvr-version">
729
  <h6><?php _e('Select a Version to Rollback','wpvr'); ?></h6>
730
  <select name="wpvr_version">
731
+ <option value="7.2.8">7.2.8</option>
732
  <option value="7.2.7">7.2.7</option>
733
  <option value="7.2.6">7.2.6</option>
734
  <option value="7.2.5">7.2.5</option>
735
  <option value="7.2.4">7.2.4</option>
 
736
  </select>
737
  <input class="wpvr-btn" type="submit" value="Rollback">
738
  </form>
admin/partials/wpvr_streetview_confirmation_alert.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wpvr-streetview-alert-wrapper">
2
+ <div class="wpvr-streetview-confirmation">
3
+ <span class="icon">
4
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-alert-triangle" width="54" height="54" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffa500" fill="none" stroke-linecap="round" stroke-linejoin="round">
5
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
6
+ <path d="M12 9v2m0 4v.01" />
7
+ <path d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75" />
8
+ </svg>
9
+ </span>
10
+ <h3><?php echo __('Turning On The Video Option Will Erase Your Virtual Tour Data. Are You Sure?', 'wpvr-pro'); ?></h3>
11
+ <ul class="wpvr-streetview-confirm-btn">
12
+ <li><button class="btn-default cancel"><?php echo __('Cancel', 'wpvr-pro'); ?></button></li>
13
+ <li>
14
+ <button type="button" class="btn-default yes">
15
+ <?php echo __('Yes', 'wpvr'); ?>
16
+ </button>
17
+ </li>
18
+ </ul>
19
+ </div>
20
+ </div>
elementor/elements/Wpvr-widget.php CHANGED
@@ -105,8 +105,9 @@ class Wpvr_Widget extends Widget_Base {
105
  * Nasim
106
  * get all tour info and store in $wpvr_post
107
  */
108
- $the_posts = get_posts(array('post_type' => 'wpvr_item','posts_per_page' => -1));
109
-
 
110
  $wpvr_post = array();
111
 
112
  foreach($the_posts as $post){
@@ -116,7 +117,7 @@ class Wpvr_Widget extends Widget_Base {
116
  $wpvr_post[$post->ID] = 'No title' .' : '.$post->ID;
117
  }
118
  }
119
-
120
  $this->start_controls_section(
121
  'section_content',
122
  [
105
  * Nasim
106
  * get all tour info and store in $wpvr_post
107
  */
108
+ $the_posts = get_posts(array('post_type' => 'wpvr_item',
109
+ 'posts_per_page' => -1));
110
+
111
  $wpvr_post = array();
112
 
113
  foreach($the_posts as $post){
117
  $wpvr_post[$post->ID] = 'No title' .' : '.$post->ID;
118
  }
119
  }
120
+
121
  $this->start_controls_section(
122
  'section_content',
123
  [
includes/class-wpvr.php CHANGED
@@ -232,6 +232,7 @@ class Wpvr {
232
  $high_res_image = get_option('high_res_image');
233
  if ($high_res_image == 'true') {
234
  add_filter( 'big_image_size_threshold', '__return_false' );
 
235
  }
236
 
237
  $this->loader->add_action( 'admin_init', $plugin_admin, 'trigger_rollback' );
232
  $high_res_image = get_option('high_res_image');
233
  if ($high_res_image == 'true') {
234
  add_filter( 'big_image_size_threshold', '__return_false' );
235
+
236
  }
237
 
238
  $this->loader->add_action( 'admin_init', $plugin_admin, 'trigger_rollback' );
public/class-wpvr-public.php CHANGED
@@ -224,9 +224,7 @@ class Wpvr_Public
224
  $postdata = get_post_meta($id, 'panodata', true);
225
  $panoid = 'pano'.$id;
226
 
227
-
228
-
229
- if (isset($postdata['streetviewdata'])) {
230
  if (empty($width)) {
231
  $width = '600px';
232
  }
@@ -238,7 +236,6 @@ class Wpvr_Public
238
  $html .= '<div class="vr-streetview" style="text-align: center; max-width:100%; width:'.$width.'; height:'.$height.'; margin: 0 auto;">';
239
  $html .= '<iframe src="'.$streetviewurl.'" frameborder="0" style="border:0; width:100px; height:100%;" allowfullscreen=""></iframe>';
240
  $html .= '</div>';
241
-
242
  return $html;
243
  }
244
 
224
  $postdata = get_post_meta($id, 'panodata', true);
225
  $panoid = 'pano'.$id;
226
 
227
+ if (isset($postdata['streetviewdata'])){
 
 
228
  if (empty($width)) {
229
  $width = '600px';
230
  }
236
  $html .= '<div class="vr-streetview" style="text-align: center; max-width:100%; width:'.$width.'; height:'.$height.'; margin: 0 auto;">';
237
  $html .= '<iframe src="'.$streetviewurl.'" frameborder="0" style="border:0; width:100px; height:100%;" allowfullscreen=""></iframe>';
238
  $html .= '</div>';
 
239
  return $html;
240
  }
241
 
public/css/wpvr-public.css CHANGED
@@ -255,13 +255,21 @@ div.pnlm-hotspot-base.far:before{
255
  }
256
 
257
  .vrfullwidth {
258
- width: 98vw!important;
259
  position: relative;
260
  margin-left: -49vw !important;
261
  left: 50% !important;
262
  max-width: 100vw !important;
263
  }
264
 
 
 
 
 
 
 
 
 
265
 
266
  .vrembed {
267
  width: 100%!important;
255
  }
256
 
257
  .vrfullwidth {
258
+ width: 98vw !important;
259
  position: relative;
260
  margin-left: -49vw !important;
261
  left: 50% !important;
262
  max-width: 100vw !important;
263
  }
264
 
265
+ /* .vrCustomWidth {
266
+
267
+ position: relative;
268
+ margin-left: -49vw !important;
269
+ left: 50% !important;
270
+ max-width: 100vw !important;
271
+ } */
272
+
273
 
274
  .vrembed {
275
  width: 100%!important;
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: 7.2.8
20
  * Author: Rextheme
21
  * Author URI: http://rextheme.com/
22
  * License: GPL-2.0+
@@ -34,7 +34,7 @@ require plugin_dir_path(__FILE__) . 'elementor/elementor.php';
34
  * Start at version 1.0.0 and use SemVer - https://semver.org
35
  * Rename this for your plugin and update it as you release new versions.
36
  */
37
- define('WPVR', '7.2.8');
38
  define('WPVR_FILE', __FILE__);
39
  define("WPVR_PLUGIN_DIR_URL", plugin_dir_url(__FILE__));
40
  define("WPVR_PLUGIN_DIR_PATH", plugin_dir_path(__FILE__));
@@ -441,7 +441,6 @@ function wpvr_block_render($attributes)
441
  $scene_haov = (float)$panoscenes["scene-haov"];
442
  }
443
 
444
-
445
  $scene_vertical_offset = 0;
446
  if (isset($panoscenes["scene-vertical-offset"])) {
447
  $scene_vertical_offset = (float)$panoscenes["scene-vertical-offset"];
@@ -508,10 +507,6 @@ function wpvr_block_render($attributes)
508
  }
509
  }
510
 
511
-
512
-
513
-
514
-
515
  $hotspot_datas = array();
516
  if (isset($panoscenes['hotspot-list'])) {
517
  $hotspot_datas = $panoscenes['hotspot-list'];
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: 7.2.9
20
  * Author: Rextheme
21
  * Author URI: http://rextheme.com/
22
  * License: GPL-2.0+
34
  * Start at version 1.0.0 and use SemVer - https://semver.org
35
  * Rename this for your plugin and update it as you release new versions.
36
  */
37
+ define('WPVR', '7.2.9');
38
  define('WPVR_FILE', __FILE__);
39
  define("WPVR_PLUGIN_DIR_URL", plugin_dir_url(__FILE__));
40
  define("WPVR_PLUGIN_DIR_PATH", plugin_dir_path(__FILE__));
441
  $scene_haov = (float)$panoscenes["scene-haov"];
442
  }
443
 
 
444
  $scene_vertical_offset = 0;
445
  if (isset($panoscenes["scene-vertical-offset"])) {
446
  $scene_vertical_offset = (float)$panoscenes["scene-vertical-offset"];
507
  }
508
  }
509
 
 
 
 
 
510
  $hotspot_datas = array();
511
  if (isset($panoscenes['hotspot-list'])) {
512
  $hotspot_datas = $panoscenes['hotspot-list'];