Shamsud-Din Jabbar posted five videos on his Facebook account before the attack in which he aligned himself with the Islamic State.