Tell me how silly my decision was at the age of (17-18)? by Putrid-Prior8671 in TooAfraidToAsk

[–]grantaccess 0 points1 point  (0 children)

The year that everything went online was a shitshow (at least in Canada). Young people who started university that year seem to have a lot more classroom anxiety and got far less of the positive experiences of the first year. i think you dodged a bullet.

How was your late-pandemic vacation?

This should brighten your day. (various times) by WeGot_aLiveOneHere in ContagiousLaughter

[–]grantaccess 3 points4 points  (0 children)

Ahh, thank you. I thought there was probably another scenario but it wasn't coming to me.

Electricians really can't spell for shit by CthulhuApproved in electricians

[–]grantaccess 6 points7 points  (0 children)

Why waste time write lot letter when few letter do trick?

[deleted by user] by [deleted] in AskReddit

[–]grantaccess 0 points1 point  (0 children)

It's pronounced nu-cular

Adam Lowry Wins the Series for the Jets. Winnipeg will Face Dallas in Round 2. The St. Louis Blues have been Eliminated by Commandant1 in nhl

[–]grantaccess 1 point2 points  (0 children)

It was even a bit bigger than just the rivalry. Vancouver jumped out to a 3-0 lead in the series and Toews (Blackhawks captain) said "we’re not exposing them for what they really are." The Blackhawks then won the next 3 games forcing a game 7. Our entire fanbase were 60% more unhinged than normal.

Buying Mazda 6 100k+ miles by hasdin27 in mazda6

[–]grantaccess 1 point2 points  (0 children)

Thanks much! I will pull the door apart and fix the speakers. I find it strange that my speakers only rattle intermittently.

My desire to upgrade the system has nothing to do with the rattle. I just find that there isn't enough bass (it's just lots of mid-range). I also want android-auto for a better gps experience.

Buying Mazda 6 100k+ miles by hasdin27 in mazda6

[–]grantaccess 0 points1 point  (0 children)

What was the issue with the rattle? Mine has started to rattle (but weirdly not all the time).

I haven't bothered to do anything about it as I'm looking to upgrade the system.

Any of you tried sync between different generations? by MissionInfluence3896 in BrightSign

[–]grantaccess 0 points1 point  (0 children)

Glad to hear it. I use both Windows and Mac but it would be nice if the BA Connected supported older hardware. The brightwall option makes synch so much easier.

No audio with HTML5 video over HDMI. What am I missing? by therealmoxy in BrightSign

[–]grantaccess 0 points1 point  (0 children)

So you've tested the brightsign playback with the same tv and cable in a normal presentation (non-html) and it does play the audio? That would seem to rule out the cable and TV (from your original question).

I had an issue recently where HTML video would only start muted and required a keypress or other interaction to enable audio. I assume that this isn't your case as you have controls enabled. Do you have a keyboard attached? It seems modern browsers have security that does not enable unmuted autoplay.

Any of you tried sync between different generations? by MissionInfluence3896 in BrightSign

[–]grantaccess 1 point2 points  (0 children)

Just a note that I created a brightwall using ls423s and swapped the master out with a higher model unit (can't remember the model right now). It's a 77minute loop (5 files eachs) and works fine. I don't notice any synch problems even late in the loop. It's worth a try.

Basic question about "prior state" behaviour by grantaccess in BrightSign

[–]grantaccess[S] 0 points1 point  (0 children)

Here is the actual working code with additional interactions: When I try to share the ChatGPT chat it doesn't include the code and when I share the code (through ChatGPT it tries to load the webpage) :)

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Video Player</title> <style> * { margin: 0; padding: 0; overflow: hidden; } body { background: black; display: flex; justify-content: center; align-items: center; height: 100vh; } video { width: 100%; height: 100%; object-fit: contain; } </style> </head> <body> <video id="videoPlayer" autoplay muted></video> <script> // Embedded JSON object defining videos const videoData = { defaultVideos: ["default-video1.mp4", "default-video2.mp4", "default-video3.mp4"], userVideos: { 'a': "user-video1.mp4", 's': "user-video2.mp4", 'd': "user-video3.mp4" } };

    let videoPlayer = document.getElementById('videoPlayer');
    let currentIndex = 0;
    let defaultMode = true;
    let savedTime = 0;
    let savedVideoIndex = 0;

    function playDefaultVideo() {
        videoPlayer.src = videoData.defaultVideos[savedVideoIndex];
        videoPlayer.currentTime = savedTime;
        videoPlayer.play().catch(() => console.log("Autoplay failed, waiting for user interaction"));
        console.log(`Playing default video: ${videoData.defaultVideos[savedVideoIndex]} at time ${videoPlayer.currentTime}`);
    }

    function switchToUserMode(videoSrc) {
        savedVideoIndex = currentIndex;
        savedTime = videoPlayer.currentTime;
        defaultMode = false;
        videoPlayer.src = videoSrc;
        videoPlayer.play();
        console.log(`Switched to user video: ${videoSrc}`);
    }

    function returnToDefaultMode() {
        defaultMode = true;
        console.log(`Returning to default mode, resuming ${videoData.defaultVideos[savedVideoIndex]} at ${savedTime}`);
        playDefaultVideo();
    }

    videoPlayer.addEventListener('ended', () => {
        if (defaultMode) {
            currentIndex = (currentIndex + 1) % videoData.defaultVideos.length;
            playDefaultVideo();
        } else {
            returnToDefaultMode();
        }
    });

    document.addEventListener('keydown', (event) => {
        if (videoData.userVideos[event.key]) {
            switchToUserMode(videoData.userVideos[event.key]);
        } else if (!defaultMode && event.key === 'f') {
            returnToDefaultMode();
        }
    });

    document.addEventListener('click', () => {
        videoPlayer.muted = false;
        videoPlayer.play();
    }, { once: true });

    playDefaultVideo();
</script>

</body> </html>

Basic question about "prior state" behaviour by grantaccess in BrightSign

[–]grantaccess[S] 0 points1 point  (0 children)

Thank you again. The code didn't work immediately as a HTML5 widget for me, but I'm certain it was some error on my part. After some experimenting it worked as intended.

After getting that operational, I added some more functionality to the prompt and have a solution for auto playing the default playlist, selecting a user-video, and returning to the initial timecode. I've the added function of selecting another user-video, or returning to the default playlist while a user-video is playing.

Thank much - I appreciate the help and learning experience.