edited gif when played back shows remnants of previous frames
so i edited each frame of all the layers and timeline to delete the background so that i could overlay the gif in the video. it plays back fine in photoshop. but the exported image shows remnants from the previous frames. as it continues to play, some of the frames are removed. i checked the timeline and clicked each frame and looked at the layers and it only had one layer per frame. i used the export > save for web legacy.
