Assuming the following:
- The browser in question doesn't limit the size of data URIs.
- There is actually a purpose to doing this (so please refrain from asking "what's the point?" and "you do realize base64 encoding will expand your file by 33%, right?").
Is it technically possible to encode an entire video or audio file into base64, and embed it in an HTML document using either <audio> or <video>?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…