I think the fun in gambling is putting a certain amount of cash and getting the amount in certain multiple rate, gambling is fun when you win either in real casino or online. The part where you lose is usually the bitter experience , most especially if the stake is high.
Apparently people can still have fun even when they are losing. Do you ever wonder why people love going YOLO (as in betting their whole bankroll) before they end their day in the casino? It's because betting high in a high multiplier is fun. They imagine how would it be if they get to actually hit the win on that particular bet. It's definitely going to be amazing. High bets where you "almost" won gives you just as much dopamine rush as winning, maybe even more. In poker, when there's only 1 card left to be revealed and you're almost on Flush, you bet high. Even when the last card did not turn out to be what you needed, you still have had a great time on that moment. During crash games, when it crashed in front of your eyes just right before it hit the multiplier that you needed, it's fun as well.
One might think that a losing streak will encourage a gambler to stop betting and try his luck another day, but no. It actually encourages the gambler to bet even more because the gambler is thinking, "If the couple of rounds was a loss, then the next one should be a win!" and so keeps on betting until the next win. Add to that the fact that we 'prepare' ourselves for that next win and so we increase and increase our bet amount (which gives you more excitement as I have explained). Gamblers all know that they are meant to lose more than they are winning and so they let go of the losses pretty easily.