A gif can be inserted as any image in any help page. However doing it like that gives no control over the start and stop of the animation which makes it annoying to your audience because the constant movement is distracting, and he will not know at what point the screencast currently is (halfway?).
To now successfully include the animation in your chm help project you have to:
In the hhp project, have the gif filename included in the [FILES] section, e.g. videos\mygif.gif. The gif file is not automatically picked up during compilation of the chm file because
|You can also use an 'include' in the [FILES] section, e.g. #include videos\animated_gif_files.txt. Such an included .txt is easier to maintain a list of gif filenames in the [FILES] section.|
|Make HTML page with Gif Start & Stop|