Detecting FLASH 8 Plugin

I just created some flash videos for a site on flash 8. I created the page on my computer and then tried it out on my friends computer. Some videos dont play, in others the masks dont work. I had him install the flash 8 plugin from the macromedia website and it solved everything. How can I detect a flash 8 plugin?