Video base64

Hi. Is it possible to play base64 video? Thank you.

@amihanya - did you have experience with this? Or anyone else?

I do it with regular video
I don't think ZIM care if that base64 or file.

@racheli are you remember something?

I will throw my 2cents into this. It is not an efficient way to transfer large files. Base64 inflates file size around 33%+. Also in my testing with Base64 videos they can't be "streamed" you have to fetch all the data before playing it and interacting with it which this can cause hang-ups in an application.

Now that being said; if you aren't worried about any of that go ahead.

1 Like

Thanks guys - I don't really have any experience with it... so sorry, I am not a help. I do know that to get the video onto the Canvas we are sending it through a Bitmap and constantly refreshing it.

1 Like

Yes, we have an app where I save a base64 string to IndexedDB and later play it.

1 Like

I would be appreciated if you can share a sample code. Thanks.