2024新年表演[2024 New Year Performance]

2024新年表演[2024 New Year Performance]

2024新年表演[2024 New Year Performance]


原始碼

<p>
	<video id="player" width="320" height="340" controls="" style="background:black;" src="https://github.com/jash-git/2024-New-Year-Performance/raw/main/01.mp4?raw=true">
	</video>
	
	<br>
	
	<script>
			var player = document.getElementById('player')
			var string1="https://github.com/jash-git/2024-New-Year-Performance/raw/main/"
			var string2="?raw=true"
			var playlist = [
			  "01.mp4",
			  "02.mp4",	  
			]
			var activeVideo = 0
			var fileurl = string1 + playlist[activeVideo]+ string2
			player.src = fileurl
			player.addEventListener('ended', function(e) {
			  // update the new active video index
			  activeVideo = (++activeVideo) % playlist.length
			  var string1="https://github.com/jash-git/2024-New-Year-Performance/raw/main/"
			  var string2="?raw=true"
			  var fileurl = string1 + playlist[activeVideo]+ string2
			  player.src = fileurl
			  player.play()
			})
	</script>
	
	<br>
	
</p>


發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *