Custom Code on Mobile Device

I embedded an iframe code on my site and it runs properly on the desktop version but won’t work on the mobile version. It used to work okay before but now only on the desktop. Please help.