A TV, a laptop, or almost any other electronic device will give off a certain amount of heat when placed anywhere. However, when a TV is properly mounted above a gas fireplace, and there is adequate space left between both appliances, you don't have to worry about safety at all. So, yes, you can mount your TV above the fireplace.