Theres two packages you can use the official video_player now supports custom headers starting from version 2.6.0 Refrence
and also theres another great package that has even more features including the custom headers better_player