UXP Panel in Premiere Pro 25.4.0 — Can get clip name from timeline, but not media path

Hi all — I’m building a UXP panel in Premiere Pro 25.4.0 (Beta) and trying to retrieve the full file path of a selected timeline clip.

So far:

  • require("premierepro") loads successfully — and I can log out valid objects like projectItem, getProjectProxyPath(), etc.
  • I’m able to access the selected track item in the active sequence and read its clip name with no issues.
  • But I cannot get the underlying media pathprojectItem.getMediaPath() is either missing or fails silently.
  • I also tried accessing .app.project.activeSequence and sequence.getActiveSequence() but those return undefined or are not functions.
  • The panel has focus, and the timeline is blue-bordered and active.

Questions:

  1. What is the correct way to get the file path of a selected timeline clip using the UXP premierepro API?
  2. Is there a working method to get the active sequence + selected track items + media path from the timeline?
  3. Can Adobe provide a code example of this workflow using the supported UXP APIs?

Thanks!