UXP for Premiere : settings.getVideoFrameRate() not exist function
I have another question while migrating from CEP to UXP.
I’m trying to retrieve the sequence video frame rate.
I referred to this sample:
In the example, it uses:
const videoFrameRate = await settings.getVideoFrameRate();
However, when I try this, I get the following error:
settings.getVideoFrameRate is not a function
I checked the type definitions here:
https://github.com/AdobeDocs/uxp-premiere-pro/blob/main/src/pages/ppro_reference/types.d.ts
and I could not find getVideoFrameRate() defined there.
So I’m wondering:
-
Was
getVideoFrameRate()introduced in version 26? -
Or is this an error in the sample code?
-
Is there an alternative way to retrieve the sequence video frame rate in UXP for Premiere Pro 25.6.2?
For reference, I am currently using Premiere Pro version 25.6.2.
