Changing a repeater box background color based on what URL source is in the video player

Now that you posted your code, I can better comment it.

Your logic is sound, but you don’t have the syntax to translate to code yet.

When I’m on my PC, I can take a look at your code properly, but at glance I can see a few mistakes.