You can't. But there are clever ways to work around. If the video is a .gif file, just import it as a costume and you should get each frame as a separate costume. Otherwise, you'll have to take screenshots (Mac cmd-shift-4) of each frame you want. Then add the script:
when gf clicked forever next costume
Offline