Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi guys,
I need to read the contents of media files via a stream. The code I have works locally but it keeps throwing errors when I run it on Cloud.
I presume there is some environment-agnostic service that I can inject and consume, but I can't seem to find any documentation anywhere.
Is anybody able to shed any light?
Solved it.
There's a MediaManager class for this exact purpose.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to read a media file to stream in Umbraco Cloud
Hi guys,
I need to read the contents of media files via a stream. The code I have works locally but it keeps throwing errors when I run it on Cloud.
I presume there is some environment-agnostic service that I can inject and consume, but I can't seem to find any documentation anywhere.
Is anybody able to shed any light?
Solved it.
There's a MediaManager class for this exact purpose.
is working on a reply...