Tweets and online videos are emerging as weapons of war in the Islamic State's campaign to seize a swath of Iraq, with the al-Qaida offshoot's use of social media dwarfing efforts by other militant groups.