Probably a combination of weed and circumstances. Weed normally causes a spike in blood pressure when you first take a hit, then gradually returns to normal over the next several minutes until you take another hit. If you happen to stand up while your blood pressure is falling, it can cause a drop in O2 to your brain, which results in lightheadedness or fainting. You fainted. It's not necessarily serious unless it happens frequently.