• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Spectrum CSS in Premiere Pro CEP Panels

Explorer ,
Jul 13, 2022 Jul 13, 2022

Copy link to clipboard

Copied

Is it possible to use Adobe Spectrum CSS in Premiere Pro CEP Panels?  I tried setting it up but can't seem to get it to work.

TOPICS
SDK

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 14, 2022 Jul 14, 2022

Exactly what Davide said, if you're using React already, go with React Spectrum, it's faster to implement and more reliable.

If you're not using React, go with SWC.

Votes

Translate

Translate
Community Expert ,
Jul 13, 2022 Jul 13, 2022

Copy link to clipboard

Copied

Shouldn't be any reason for it not to work in the latest versions of Premiere. You can also try Spectrum Web Components  and React Spectrum  if you use React.

If you want to keep using Spectrum CSS, I'd try setting it up first in a web environment to make sure it's working, then test in a CEP panel.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 13, 2022 Jul 13, 2022

Copy link to clipboard

Copied

My understanding is that the CSS alone are problematic, it'd be best to use SWC or React Spectrum as @Justin Taylor-Hyper Brew has suggested.

Davide Barranca - PS developer and author
www.ps-scripting.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 13, 2022 Jul 13, 2022

Copy link to clipboard

Copied

@Davide_Barranca @Justin Taylor-Hyper Brew Thanks so much guys! What would be the advantages or disadvantages of using Web Components vs React?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 14, 2022 Jul 14, 2022

Copy link to clipboard

Copied

SWC are possibly easier to implement in your project (and don't require you to know/use React), this is the main selling point IMHO.

SWC and React components are not two completely overlapping sets, so I'd suggest to check them out and see which one has the stuff you need in your project—there's nothing worse than realizing mid-way that you want something that's not there 😉 

Davide Barranca - PS developer and author
www.ps-scripting.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 14, 2022 Jul 14, 2022

Copy link to clipboard

Copied

Wow that SWC works really easily.  Only issue I'm having is that Textfields and Numberfields don't let me change the value.  It just stays with whatever the value I've inputted for "value=" in HTML and doesn't let me change it in the CEP Panel.  Things like checkboxes and picker let me change the value in the CEP Panel though.  Any thoughts on what I might be missing? @Davide_Barranca @Justin Taylor-Hyper Brew.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 14, 2022 Jul 14, 2022

Copy link to clipboard

Copied

Exactly what Davide said, if you're using React already, go with React Spectrum, it's faster to implement and more reliable.

If you're not using React, go with SWC.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

So I've been diving into using Spectrum Web Components in a Premiere CEP Panel.  Most of the components seem to work well.  However, text fields and number fields don't allow the user to input any information (see attached video).  Is there a reason why a CEP Panel wouldn't allow this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 19, 2022 Jul 19, 2022

Copy link to clipboard

Copied

LATEST

I am able to get the components to work correctly in my IDE's HTML preview after bundling the node_module, but it doesn't show up in the CEP Panel.  Is there something special I need to do to make a node module bundle work for CEP?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines