_Media.getMediaVideoUrl( mediaArr, width, height, options)
Function to get the video media's cloudinary URL.
{% set media = _Media.getMediaVideoUrl(profileMediaArr, 80, 80, {radius: 'max', gravity: 'face', 'crop': 'thumb', 'type' : 'user'})%}
Parameters Details
Parameter | Type | Required | Description |
---|---|---|---|
profileMediaArr | object | yes | Media Array |
width | int | no | Width of the media |
height | int | no | Height of the media |
options | object | no | Media params |
Example Response
Media URL
http://res.cloudinary.com/cognitives/image/upload/v1479377416/mt0jr5y3xvvm6yxgjpor.mp4
Updated almost 5 years ago