they are pretty much the same.
for example a teacher could say to their students:
"The video is still loading, in the meantime finish the questions in your workbooks"
or someone could say
"John isn't here yet, lets eat some snacks for the meantime"
for the meantime is usually used after the phrase, in the meantime in used during the phrase