You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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";
The text was updated successfully, but these errors were encountered:
ashugthub
changed the title
import { audio } from "@cloudinary/url-gen/qualifiers/source"; missing
import { audio } from "@cloudinary/url-gen/qualifiers/source"; missing in "@cloudinary/react": "^1.11.2",
Jul 11, 2023
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
@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
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";
The text was updated successfully, but these errors were encountered: