How to download file directly to aws storage using lambda - node.js

im working on integrating zoom into my application and im stuck at a certain point.
So basically i want to get the zoom recordings of a user and download it into my aws s3 bucket.
using the zoom api to get recordings give you two links, a play link which leads you into zoom ui with the video of the recording and a download link. I want the users zoom recordings to play on my website using my ui, therefore i need to use the download link. Therefore i want to use my back end server (node) to get the download link and download the file then upload the file to aws.
Is that in anyway possible? or is there another way i could go about this problem?. Please i am in dire need of this help.
Thanks.

Related

Protect audio from being downloaded from S3 storage

There is a database of audio files that will be stored in the S3 storage. The functionality of the site implies their playback, but not downloading. What can I do so that the file can't be downloaded just by getting a link to it from inspect browser.
The backend is written with Django REST API, the frontend with Nuxt.
I would be grateful for help in the direction of thought.
Now some advanced users can get a link directly to the audio file and download it, although only the playback functionality of the site is shown. This is possible by using inspect(F12) and further tracking the change of content on the page when you click on the "play" button.

Openstreetcam extract image and gps location

I would like to use python to download the image and sequences of images found in the location on openstreetcam.
http://openstreetcam.com/details/8552/422
I figured out the image is saved under
http://api.openstreetcam.org/files/photo/2016/6/30/lth/8552_2fbf0_57756eba868e9.jpg?v=1518090956232
however there is no official API to use. How would one extract the image and gps data?
Edit: The GPS data can be found in the url by clicking Edit OSM id.
Ideally one would use some sort of web scraper however the .jpg is not found in the website source code.
OSC's endpoints are a little hidden.
Invite you to check out https://github.com/Streets-Data-Collaborative/osc-tools where I've written some scripts to extract track data and the underlying metadata for each track.
Feel free to open an issue on the repo if something's not working.

Drupal 7: Playback of Audio Files Stored on Google Drive

We're working with a client that is required to post audio of meeting minutes. Their current method of storing these audio files is Google Drive and they would prefer not to change that. As it stands, the site has links to the audio file on Google Drive which sends you to Google Drive and asks you to download the file. This is very inefficient. Does anyone know of a way to link to or stream a file hosted on Google Drive to make it more seamless or user friendly?
They are currently using WMA files, but if need be, we can request that they use MP3 or WAV. The link below will give you an idea what we're looking to improve.
Thanks in advance.
https://asbcs.az.gov/board-staff-information/meeting-dates-materials

HTML5 Video Rendering on ASP.net MVC5 website

I have a bit of a problem, I dont know why but I cant render video files on my site.
I made a project where my Videos are inside my asset folder, and it is called by a video tag.
It works on localhost, there are no problems but when I publish it
The images work but the video does not play.
Then I Tried Blob Storage, using Azure Storage Explorer I uploaded my video files in a public Blob. But same thing, it does not load but I can download the video file (I dont get this part)
Lastly I use Media Service which works good but the problem is, the Azure Manager of Media Service sucks, I need to upload tons of video and the UX in Azure does not help at all. there is no batch uploading or what so ever and I need to publish one by one.
So I made a code for it (Upload -> Encode -> Publish) but my biggest problem now is Upload.
The part where I will upload my IassetFile
assetFile.Upload(uploadFilePath);
This always fail with 100mb++ Files, but if it is 20mb++ it works ok.
I'm quite a bind, I dont know anymore what to do.
Can anyone give suggestion on how Can I proceed with this problem, the best case is that
Is there a configuration in azure website where I can activate so I can play videos?
You can convert video files you have already uploaded into blob storage into media services assets. The guidance from Microsoft on how to do this is here: http://msdn.microsoft.com/en-us/library/jj933290.aspx
You should also be able to leverage the raw MP4 blob that is produced as the baseline media asset if you don't wish to utilise smooth streaming or similar services. This asset has a long URL with a SAS access key.

Download images for google chrome extension

i'm trying to build a batch image downloader in chrome. Basically, i will overlay a small download square to each image on the page and user clicks on it to download. Or the user can click to download all images on a page. I'm currently stuck on figuring out how to download the images. The best i can come up with is to use XHR to send the image to another server, the user can then retrieve it there.
If anyone have a solution for me. It would be much appreciated!
Jason
I believe you can XHR the images and using the File API you can store them locally.
Take a look at the following site http://www.html5rocks.com/features/file there are additional resources on the right column that has detailed examples and tutorials. Such as http://www.html5rocks.com/tutorials/file/filesystem/
Mohamed Mansour
This code will do the trick for you: https://gist.github.com/1049553
It's very simple usage of a 'feature' in chrome when you open an image in a new tab.

Resources