frontend-frameworks
frontend-frameworks copied to clipboard
import { audio } from "@cloudinary/url-gen/qualifiers/source"; missing in "@cloudinary/react": "^1.11.2",
I am importing import { audio } from "@cloudinary/url-gen/qualifiers/source"; in react but it's not found although importing text , image and video works for me like below import { text, image, video } from "@cloudinary/url-gen/qualifiers/source";
Hey @AshuBanctec, thanks for getting in touch.
Could you please let us know what it is you're trying to do? Cloudinary treats audio files the same as video files, so you may be able to use a Video or AdvancedVideo component instead such as in this example here: https://codesandbox.io/s/react-audio-example-hgc5z3
Let us know :) -Danny
@dannyv-cloudinary I am trying to apply audio overlay on a video like new CloudinaryVideo("hourglass_timer.mp4").overlay(source(audio("electronic")));
Following https://cloudinary.com/documentation/video_layers article. The thing is when I am importing audio using import { audio } from "@cloudinary/url-gen/qualifiers/source" audio is not present there
Thanks @AshuBanctec . We're discussing this internally and will get back to you when we have some more information to share.