How would I play a video out of a sequence of images in a material on a ui

How would i like have a sequence of images like full png images not in 1 image and make a material to play the sequence of the images and then put it in a ui to display ingame