'By' is very unlikely. The other two are correct, though 'while sounds a little strange; they have slightly different implications. The sentence is also possible with no preposition.
"from" and "while" both work. They have different meanings though, "from" means that laughing caused his death; "while" simply means that he died during the period of time that he was laughing, we don't know the cause.