I want to remove a base64 header from a base64 data URI, for example given:
data:video/mp4;base64,TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz
I want to remove the prefix:
data:video/mp4;base64,
The problem is that I receive different types of video, so I don't know how to reliably remove this header in any form it may present itself. Can someone help?