It could be the weight of course

I know it doesn't sound nice, but it is absolutely natural for human beings to prefer slim sexual partners to heavier ones. Weight makes sex harder.
That being said it doesn't mean that you aren't the person he wants to live with and love above all.
Whatever his part of the problem is you should first of all fix your side. You have two options, or so it would seem to me: 1. Try having more sex as you lose weight 2. Find someone who wants to have sex with you as you are at any weight.
It is one thing to ask of a person to love your faults and another to ask of them to love you while you are giving up on fixing your faults. I personaly would not be attracted to someone who doesn't try to be the best they can be.
There are heavy couples with an active sex life, there are skinny couples wihout one. Of course it isn't all about the weight, but it is a factor.
Now to the possible ED your hubs might have... does he perhaps have a lot of stress? Men that prefer cold distant porn to a warm real woman usually have performance stress. It might make him feel worse and worse to talk about sex, because admitting sexual disfunction is harder for a man than a woman. This might add to you feeling responsible for the situation.
Personally I think gradually having open discussions about sex helps, starting first with offers from your part and then with gentle demands

Just because they don't do it in the movies doesn't mean that talking and laughing while having sex is a no-do either. It isn't a show, it's just a way to make your very special someone happy.