1
0

Fix poster display issue on VR exit

- Added video.load() to resetToOriginalState() function
- Forces video element to reload and show poster image instead of first frame
- Ensures proper reset to original state after exiting VR
This commit is contained in:
Michael Verdi
2025-07-31 14:17:52 -05:00
parent daf9583018
commit e65df0e616

View File

@@ -879,6 +879,9 @@ function resetToOriginalState() {
video.pause(); video.pause();
video.currentTime = 0; video.currentTime = 0;
video.controls = false; // Disable native controls video.controls = false; // Disable native controls
// Force video back to poster state by reloading
video.load();
} }
// Show the play button in center position // Show the play button in center position