I presume you mean under Judo rules. (From your use of “Shido”.) (It’s totally legal in BJJ. )
Why do you think it might be illegal under Judo rules? Because you’re choking the opponent with your own gi rather than with theirs? I’ve never encountered such a rule, although I’m not expert in all the minutiae of the current rules. I think you might get a penalty for the variation at 4:11 where he held his gi in his teeth for a moment before passing it to his other hand. I don’t think that’s allowed.