Canvas Instrucuture Arc API - media-library

For the courses we have in Canvas Instrucutre, the media files are in Arc Media Library. But the API to access these media files isn't available.
Is there a way to access the Arc Media files from Canvas API?

The ARC media API is available in https://"your-canvas".instructuremedia.com .
The documentation is available at https://canvas.instructuremedia.com/api/docs

Related

How to expose Sitecore media URLs to outside world?

We are trying to expose Sitecore media URLs to some other application.
One of the ways I could think about is creating a Virtual Directory and linking it with physical server where images are stored.
Limitation of this approach is there won't be a way to fetch thumbnails from Virtual Directory URL.
e.g. ~/media/image.ashx?bc=White&dmc=0&h=500&thn=0&w=500 wont work with virtual directory
Is there any way to expose image URLs where we can expose actual version as well as a thumbnail of the images to other application?
e.g. exposing both ~/media/image.ashx and ~/media/image.ashx?bc=White&dmc=0&h=500&thn=0&w=500
As these are images so you can append image's src property with Request.Url.Scheme +"://"+Request.Url.Host + /~/media/image.ashx?bc=White&dmc=0&h=500&thn=0&w=500

Django CMS : Integrating CMS with CDN for faster delivery of static files

Use-Case:
Need to upload an image which is bigger in size ( using django cms image plugin ) .
When I upload the image via CMS portal , where do the actual image is saved and in what format ?
Can I configure it to save in static folder of my source repo , so that I can push the new image to CDN ?
Also would like to know what is the standard practice for this use-case (image ?

How to restrict certain media types from being uploaded to custom media library folder in Sitecore 8 Content editor

i would to create two differents custom media folder templates in the Sitecore 8 media gallery:
Images Folder
Videos Folder
When clicking the upload files button, the first will accept only images, the second will be accept only videos. Which is the best way to do this?
There is a market place module for that, it's called Media Library Policeman.
Does exactly what you need.
You can download it here: https://marketplace.sitecore.net/en/Modules/Media_Library_Policeman.aspx

How to play a playlist on Firefox OS?

How can I play my playlist (m3u, pls) on Firefox OS?
If those formats aren't support, are there any other formats or workarounds to have your own playlists (instead of only albums and the predefined ones, like highest rated)?
The <audio> and <video> elements provide support for playing audio and video media in firefox-os, but the W3C HTML5 specification does not support playlist file formats.
However, you can create your own media player or use any existing media player libraries.
Remember, .m3u and .pls are plain text formats. You can request your playlist files with the Device Storage API or by ajax from within your apps root folder for further parsing.
See Firefox OS Media formats (MDN)

Sharing files from google cloud storage to GAE

I have one Django application running GAE.The application uses content folder which contains images and html snippets.The content folder was uploaded in google cloud storage.I would like to render a image in static file using img tag.For using img tag I want to know the url of that image.I have seen that when we set the permission to share publicly it will give us a url.But I don't want to share that files publicly.If I share an another application can use my files.I don't want that.I there any way to do that with out log in a user
Sharing it publicly is the best way to go.
You could also base64 encode the image data when you render out the template, which means the url of the image will not be shown to the public on your page. Then you can obfuscate the image names in the GCS. This way it's still public but hard to reach.