YouTube Media Play and Advanced Scene Switcher

mala

New Member
Hi togehter,

I'm using a Mac with OBS and Advanced Scene Switcher and have a question about how I could "play a YouTube video in Safari and select SCENE A" and "when YouTube video is paused switch to SCENE B".

Is this possible?

I tried this:

WHEN VIDEO IS PLAYING:

1651590914847.png


WHEN VIDEO IS PAUSED:

1651590921139.png


Maybe I don't need to define Safari at all ... and could use instead "any media is playing"?

Thank you!
 

Warmuptill

Active Member
I think you are misunderstand the "Media" condition type.
It is not interacting with your browser (Safari) in any way - instead it is targeted to check the state of sources of the type "Media source" or "VLC Video Source" inside OBS.

MediaSource.PNG


To achieve what you are trying to do you can maybe use something like this instead:

Yt.PNG


This will check if any window exists containing "YouTube" anywhere in its window name.
(Maybe it could be combined with an audio condition to check whether or not something is being played back)

To create the inverse you can just reuse the previously defined macro again using the "Macro" condition type.

NotYt.PNG


Hope that cleared things up!
 
Top