'Making the background a video pygame

So I have some basic code for a game that I decided to work on. I made a couple of functions and such for the game to work. I have run across a problem.

I would like to create the menu(and most of the game) with a video as a background(on a loop) and solid images ontop.

I'm wondering if the solution is to blit the frame first, then blit the images on top of the frames, but I am not sure how it will play out.

I decided to ask the community, as if it didn't work(or if there's an easier way), then I'm back to square one.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source