Plug before period ?

Am

My period is due in a few days , but I had some cramping thinking it was here. I used the toilet ( tmi) and it’s just this string floating with a little bit of blood. I’m nervous I never seen that before a period. Kinda look like a plug I don’t or a jelly fish floating. Is my period coming ?