jeudi 23 avril 2015

Viewing of video through the Video tag removed from phone

Generally a problem in the following it is necessary to make that the page allowed to look through video loaded from phone (from the video camera in video tag) On the browser everything is OK, I code the file in base64, without problems I keep its dB and I can look. On phone when you try to see the file from base64 at its excess on volume about higher than 3 Mb there is a breakage of the browser. By method when I receive blob the link to the loaded file var blobLink = URL.createObjectURL (files[0]);

Helps but if the page to reboot that works nothing. Whether there are some decisions to make this thing? as option, only I don't know as it to realize it is necessary to save this file directly in dB (sqlite) and already then to connect it through URL.createObjectURL Prompt can who faced a problem? I will repeat in the personal computer browser everything works perfectly, the problem that it worked at phone since when you substitute a campaign the same base64 with a big length of a line brings into video src to I christen the browser.

Aucun commentaire:

Enregistrer un commentaire