​Beds can be very soft and squishy, which makes it easier to over do the movements.
If you must do the class from a bed, please do the moves very gently, slowly and avoid making large, exaggerated motions.
Over time you should find you can get to the floor. I have clients well into their 80s who can, you can too!