That wasn't a recording on PotC, it was a real live person whose duties include, among other things, making sure no one takes flash pictures.
The basic reasons for flash photography not being allowed are 1) it will mess up the special effects, 2) your photo will not develop properly, and 3) it can be dangerous for performers. Flashes don't pose as great a danger to performers as external video camera lights. Those things are bad business.
Bright lights are prohibited at:
All indoor attractions.
All stage shows.
Nighttime parades.
All Photography is prohibited on backstage tours.