DO NOT ALLOW SUCH THINGS. Yes you can wear earplugs and in fact these are provided from health and safety but they forbid music players on the floor since such a distraction could be fatal.

Your company may differ but I would not risk my life on this one.