Simple wrapper around cloudinary_npm.
npm install react-cloudinary --save
import { cloudinaryConfig, CloudinaryImage, CloudinaryVideo } from 'react-cloudinary';
cloudinaryConfig({ cloud_name: 'xxxx' });
const imagePublicId = 'imagePublicId';
<CloudinaryImage publicId={imagePublicId} options={{ width: 300, height: 300 }} />
const videoPublicId = 'videoPublicId';
<CloudinaryImage publicId={videoPublicId} options={{ width: 300, height: 300, controles: true, preload: 'auto' }} />