How to use one side of a headphone for a video and the other for another video?

             How would you separate the different tabs of a browser/ program for each side of a headphone? I want on side one side to take sound from youtube (left side) and the other to use fl studio instead of having them both mashup to make one sound stream.

two output devices into a mixer, pan left and right.

If you have video editing software you may be able to change the audio channels of each video so that one video plays audio on left only and the other right.