When enabling the "silent mode" the "priority mode" or just switching to "vibration mode", apps are still able to play sounds through the "music" audio stream. So music or video apps and games can still play music, even when the device should be muted.