|  | @@ -54,17 +54,17 @@ main = function () {
 | 
	
		
			
			| 54 | 54 |  		},
 | 
	
		
			
			| 55 | 55 |  		{
 | 
	
		
			
			| 56 | 56 |  			containerId: "player_proud",
 | 
	
		
			
			| 57 |  | -			videoId: "_m-bMZhZT04",
 | 
	
		
			
			|  | 57 | +			videoId: "5HYvR3I5vjw",
 | 
	
		
			
			| 58 | 58 |  			category: "research",
 | 
	
		
			
			| 59 | 59 |  		},
 | 
	
		
			
			| 60 | 60 |  		{
 | 
	
		
			
			| 61 | 61 |  			containerId: "player_feature",
 | 
	
		
			
			| 62 |  | -			videoId: "_m-bMZhZT04",
 | 
	
		
			
			|  | 62 | +			videoId: "1eS50Ng9x_M",
 | 
	
		
			
			| 63 | 63 |  			category: "research",
 | 
	
		
			
			| 64 | 64 |  		},
 | 
	
		
			
			| 65 | 65 |  		{
 | 
	
		
			
			| 66 | 66 |  			containerId: "player_show",
 | 
	
		
			
			| 67 |  | -			videoId: "_m-bMZhZT04",
 | 
	
		
			
			|  | 67 | +			videoId: "mA6C_-b2oE4",
 | 
	
		
			
			| 68 | 68 |  			category: "research",
 | 
	
		
			
			| 69 | 69 |  		},
 | 
	
		
			
			| 70 | 70 |  	];
 | 
	
	
		
			
			|  | @@ -107,13 +107,11 @@ main = function () {
 | 
	
		
			
			| 107 | 107 |  		// 點擊 專家影片 關閉此功能
 | 
	
		
			
			| 108 | 108 |  		$(".modal__video .video__overlay").on("click", function () {
 | 
	
		
			
			| 109 | 109 |  			let videoBox = $(this).parents(".video");
 | 
	
		
			
			| 110 |  | -			console.log(videoBox)
 | 
	
		
			
			|  | 110 | +			// console.log(videoBox)
 | 
	
		
			
			| 111 | 111 |  			if (!videoBox.hasClass("active")) {
 | 
	
		
			
			| 112 | 112 |  				videoBox.addClass("active");
 | 
	
		
			
			| 113 |  | -				videoBox.children("iframe").click();
 | 
	
		
			
			| 114 |  | -				console.log("videoBox click")
 | 
	
		
			
			| 115 | 113 |  			} else {
 | 
	
		
			
			| 116 |  | -				// videoBox.removeClass("active");
 | 
	
		
			
			|  | 114 | +				videoBox.removeClass("active");
 | 
	
		
			
			| 117 | 115 |  			}
 | 
	
		
			
			| 118 | 116 |  		});
 | 
	
		
			
			| 119 | 117 |  
 | 
	
	
		
			
			|  | @@ -137,6 +135,10 @@ main = function () {
 | 
	
		
			
			| 137 | 135 |  			$("#testModal .modal__game__ans").hide();
 | 
	
		
			
			| 138 | 136 |  		})
 | 
	
		
			
			| 139 | 137 |  
 | 
	
		
			
			|  | 138 | +		$(".modal-research .btn-close").on("click", function(){
 | 
	
		
			
			|  | 139 | +			modalVideoStop();
 | 
	
		
			
			|  | 140 | +		});
 | 
	
		
			
			|  | 141 | +		
 | 
	
		
			
			| 140 | 142 |  		// 測試用
 | 
	
		
			
			| 141 | 143 |  		// gsap.to(".game__item-start", { duration: 0.5, autoAlpha: 0 });
 | 
	
		
			
			| 142 | 144 |  		// gsap.to(".game__item-main", { duration: 0.5, autoAlpha: 0 });
 | 
	
	
		
			
			|  | @@ -420,10 +422,14 @@ main = function () {
 | 
	
		
			
			| 420 | 422 |  	}
 | 
	
		
			
			| 421 | 423 |  
 | 
	
		
			
			| 422 | 424 |  	function onPlayerStateChange(event) {
 | 
	
		
			
			| 423 |  | -		console.log(event.target.o.id)
 | 
	
		
			
			|  | 425 | +		// console.log(event.target.o.id)
 | 
	
		
			
			| 424 | 426 |  		if (event.data == YT.PlayerState.PLAYING) {
 | 
	
		
			
			| 425 | 427 |  			$(`#${event.target.o.id}`).parents(".video").find(".video__overlay").hide();
 | 
	
		
			
			| 426 | 428 |  		}
 | 
	
		
			
			|  | 429 | +		// console.log(event.data)
 | 
	
		
			
			|  | 430 | +		if (event.data == -1) {
 | 
	
		
			
			|  | 431 | +			$(`#${event.target.o.id}`).parents(".video").find(".video__overlay").show();
 | 
	
		
			
			|  | 432 | +		}
 | 
	
		
			
			| 427 | 433 |  	}
 | 
	
		
			
			| 428 | 434 |  
 | 
	
		
			
			| 429 | 435 |  	// 控制單個播放器播放
 | 
	
	
		
			
			|  | @@ -462,6 +468,13 @@ main = function () {
 | 
	
		
			
			| 462 | 468 |  		}
 | 
	
		
			
			| 463 | 469 |  	}
 | 
	
		
			
			| 464 | 470 |  
 | 
	
		
			
			|  | 471 | +	function modalVideoStop() {
 | 
	
		
			
			|  | 472 | +		for (var i = 6; i < players.length; i++) {
 | 
	
		
			
			|  | 473 | +			players[i].stopVideo();
 | 
	
		
			
			|  | 474 | +			// console.log(i)
 | 
	
		
			
			|  | 475 | +		}
 | 
	
		
			
			|  | 476 | +	}
 | 
	
		
			
			|  | 477 | +
 | 
	
		
			
			| 465 | 478 |  	// ====================  時間軸相關  ====================
 | 
	
		
			
			| 466 | 479 |  
 | 
	
		
			
			| 467 | 480 |  	// 踏上mRNA歷史軌跡 影片程序
 |