NUKnightLab / TimelineJS3

TimelineJS v3: A Storytelling Timeline built in JavaScript. http://timeline.knightlab.com
Mozilla Public License 2.0
2.99k stars 621 forks source link

feat: allow media urls to be base 64 data urls #881

Open ChildishGiant opened 2 months ago

ChildishGiant commented 2 months ago

I am using TimelineJS to make a page that then gets encrypted using pagecrypt which only accepts one html file. Currently I can only link to existing images online as using local images they wouldn't be encrypted. This change allows base64 data urls to be used as media urls, allowing them to be inlined into one html file, allowing me to add images while keeping them encrypted.