How can I loop one video and make another play once?

How can I accomplish in making animation 1 loop while animation 2 just plays once and stays on the screen? Is this possible or no?

Thanks