Browse Source

Merge branch '#2021-09-06-pub' into stage_tsit

jmh 4 years ago
parent
commit
4ee371322f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/webapp/WEB-INF/views/mob/display/BrandMainFormMob.html

+ 2 - 2
src/main/webapp/WEB-INF/views/mob/display/BrandMainFormMob.html

@@ -527,7 +527,7 @@
 		});
 
 
-// 		if(typeof VgControllerClient == 'object'){
+		if(typeof VgControllerClient == 'object' && document.getElementById('pdThumbVideo')){
 			var controller = new VgControllerClient({
 				target_window: document.getElementById('pdThumbVideo').contentWindow
 			});
@@ -536,7 +536,7 @@
 				controller.set_control_visibility(false);
 				controller.play();
 			});
-// 		}
+		}