Enter the username or e-mail you used in your profile. A password reset link will be sent to you by email.
Loading...
document.addEventListener("DOMContentLoaded", function () {
// Target the main video player container used in RetroTube
const playerWrapper = document.querySelector('.wps-player, .video-player-container, .entry-player');
const mediaElement = document.querySelector('video, iframe');if (!playerWrapper) return;// Create the custom play button element dynamically
const customPlayButton = document.createElement('div');
customPlayButton.className = 'retro-custom-play-btn';
playerWrapper.appendChild(customPlayButton);// Clicking your custom gold button triggers the video play and hides the button
customPlayButton.addEventListener('click', function () {
playerWrapper.classList.add('player-is-playing');
// Try to trigger the underlying video play function if available
if (mediaElement && typeof mediaElement.play === 'function') {
mediaElement.play();
}
});// Also listen to standard video play/pause events in case the native play button is used
if (mediaElement) {
mediaElement.addEventListener('play', function () {
playerWrapper.classList.add('player-is-playing');
});
mediaElement.addEventListener('pause', function () {
playerWrapper.classList.remove('player-is-playing');
});
}
});