0

play/pause video with buzzer + extra sound jingle

HI, 

for a competition i need the following.

image -> usb-buzzer, starts a video -> usb-buzzer, pauses video and plays mp3-jingle once -> usb-buzzer, return to image.

 

i can use the buzzer to make the transition from the image to the video, this works. but now... 

how can i pause the video AND play the mp3-jingle (once) at the same time? the buzzer only sends one value and i cannot use the same trigger for 2 keyboard input events in one video...

i just can pause the video. and then i cannot move on to the image, how can i unpause the video?

Plz help, i spend a whole afternoon with chatgpt and copilot, without luck.

i am using brightAuthor 5.0.2.0 and not connected. but i can switch if this is only possible in connected.

thank you very very much.

Cheers Sven  

1 comment

  • Avatar
    Brandon Official comment

    Video can only be paused or resumed via a command on the video state or an event attached to the video state. Send a Zone Message from another zone to trigger a Zone Message event on the video state if necessary.

    If two things need to play at the me time they need to be in different zones.

    You can think of interactive playlists in BrightAuthor and BA:connected like playing a board game.

    You have a token that moves from one space to another. Likewise, playback in BrightAuthor moves from one state to another.

    For multi-zone presentations, each zone has a separate path of spaces and its "token" (active state) moves concurrently with the other tokens on their respective paths.

    There is no dice roll to move from space to space, instead, each space may define none, one or more events that allow something to happen. In BrightAuthor, these are the events attached to the state you're on.

    If you land on a space that has no events that lead you out then you're stuck there.

    If one of the events that applies to the space happens, then something happens. It might take you out of the space (state) and into another space (state), and/or it might do something else like set a variable.

    Interactions between tokens (remember that they move independently) can happen with Zone Messages. One token will send a zone message, and if another token is on a square (state) that is listening for that zone message, something
    will happen there.

    Synchronized presentations operate like teams - each member of the team has their own slave board, and parts (or all) of their board are set up with Sync events so they can move when the team master tells them to (sends a Link>Synchronize command).

Please sign in to leave a comment.