Posts

Showing posts with the label firebase-storage

Firebase Storage video upload error Cross origin is NULL

Image
Clash Royale CLAN TAG #URR8PPP Firebase Storage video upload error Cross origin is NULL I am trying to upload store the videos on Firebase Storage .The code works for images ,but for videos it shows: Failed to load https://firebasestorage.googleapis.com/v0/b/resource-access-point.appspot.com/o?name=vid%2Fvideoplayback.mp4: The 'Access-Control-Allow-Origin' header has a value 'null' that is not equal to the supplied origin. Origin 'null' is therefore not allowed access. <html> <head> </head> <body> <progress value="0" max="100" id="uploadprog"></progress> <input type="file" id="upinput"/> <button onclick="mew()">get url</button> </body> <script src="https://www.gstatic.com/firebasejs/5.3.0/firebase.js"></script> <script> // Initialize Firebase var config = { apiKey: "", authDomain: "", ...

Can I zip files in Firebase Storage via Firebase Cloud Functions?

Image
Clash Royale CLAN TAG #URR8PPP Can I zip files in Firebase Storage via Firebase Cloud Functions? Is it possible to compress multiple files in Firebase Storage using Cloud Functions? For example, there are 5 images uploaded by users and Firebase Cloud Functions will create a zip file for these 5 images By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.