Play movie in the background


#1

How to play movie in the background?
if play movie with DirectShowComponent, it comes to topmost over all siblings.


#2

DirectShowComponent inherits from Component so you should be able to just call toBack() on it to change the z-order to be behind all of its siblings. Also, make sure it isn’t set to be always on top by calling setAlwaysOnTop (false) on your DirectShowComponent.

Ed


#3

I have already done it, but it does not fix it.


#4

Looks like DirectShowComponent gets rendered in a separate native window so it will always be placed in front of your JUCE components. So unfortunately there’s no way to play a movie in the background using it.

Ed


#5

How about QuickTimeMovieComponent?


#6

Yes that will be the same as it’s also in a separate native window.

Ed