With Direct URLs you can use Canto’s CDN to easily share assets for downloading or embed them across the web. 

This feature works with images and videos.  


How to enable Direct URLs in your Canto account


If you can’t find the Direct URLs section within the Information Page of an asset, it hasn't been configured yet. To do so, have a Canto Admin do the following:  

 

  1. Navigate to Settings > Configuration Options > Custom Configuration 
  2. Select the Information Page tab 
  3. Move the Direct URLs section from the Fields area to anywhere in the Layout area 



How to use Direct URLs


To grab a Direct URL, navigate to an image or video's Information Page and locate the Direct URLs section.  



Images

For images, the Original File URL provides you with the original image file in its original dimensions.


The Preview Image URL offers a low-res version with reduced dimensions. You can customize those dimensions by changing the number at the end of the URL, which will be the pixel measurement of the long side of the image (in the above screenshot, it's 800). The pixel measurement of the short side will reduce at the same ratio. 

You can see an example of this "on the fly" image resizing in the tutorial video at the end of this page.


To embed an image on a website or application that doesn’t have an “Image URL” box, open up the site's HTML editor and place the Direct URL in an <img> tag:


<img src="https://hello.canto.global/download/image/236e0thhsh46t7jnmkgn1uqu5d/original">


At the end of this page, we included a tutorial video that shows how easy it is to use Direct URLs.


Videos

For videos, the Original File URL provides you with the video in its original file format and size. 


The Low Resolution MP4 URL offers a scaled downs version of your video as an MP4 file.


Additionally, we offer a feature to embed videos using streaming technology from Amazon Web Services (AWS). 

If you do not see this addon feature in your Canto account, please contact your Canto Account Manager for more details. 



When clicking on Embed Video, you can set the size of your video player (1 - responsive or fixed) and select the format of your streamed video (2 - HLS or DASH).


Apple's HTTP Live Streaming (HLS) is an HTTP-based adaptive bitrate streaming communications protocol. Support for the protocol is widespread in media players, web browsers, mobile devices, and streaming media servers.

Dynamic Adaptive Streaming over HTTP (DASH) - also known as MPEG-DASH - is an adaptive bitrate streaming technique that enables high quality streaming of media content over the Internet delivered from conventional HTTP web servers.



Once generated, you receive an email about it and can copy your embed codes at any time from within Canto.

There is actually no need to regenerate your embed codes if you want to slightly alter them. You can simply make your desired changes to the code directly before embedding it.




Video Tutorials


How To Use Direct URLs



Custom Image Resizing with Direct URLs