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

How to enable NodeJs for HTML5 Panels

Participant ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

Hi All,

We are trying to implement downloading assets from url, in our Premiere pro Panel.

From the premiere pro sdk forum we came to know that by using NodeJs we can implement this feature(Downloading file with NodeJS in CEP extension )

Also we have gone through the github sample Nodejs.html (Samples/Nodejs.html at db6086245ee6b64466710056f60ca324fce12880 · Adobe-CEP/Samples · GitHub )

Here is the code and Panel screenshots:

function isNodeJSEnabled() {

  if (typeof(require) !== 'undefined') {

  $('#result').val("Node.js is enabled");

  } else {

  $('#result').val("Node.js is disabled");

  }

  }

Nodejs.PNG

But when we run the code from our panel, we are getting the message  "Node.js is disabled".

We have added the following values in manifest file

<CEFCommandLine>

  <Parameter>--enable-nodejs</Parameter>

  </CEFCommandLine>

Downloading file with NodeJS in CEP extensionBut still we get the same result. "Node.js is disabled"

We are testing the panel in Windows 7,Adobe Premiere pro CC 2015.2 (9.2.0(41))

What are the steps we need to take care in-order to enable NodeJs in our panel?

Thanks and Regards,

Anoop NR

TOPICS
SDK

Views

8.5K

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

Adobe Employee , May 25, 2016 May 25, 2016

Davide Barranca's blog post is authoritative: HTML Panel Tips #19: CC2015.1 (CEP6.1) Node.js Fixes | Photoshop, etc.

Votes

Translate

Translate
Enthusiast ,
Sep 14, 2016 Sep 14, 2016

Copy link to clipboard

Copied

Thomas_Szabo wrote:

Take it out. Not sure how it messes things up right now. We´re not using CEP7 in PPro right now.

If node.js is still not working then please zip your extension and post it here, so I can test it.

Took it out.  Still not working.  Extension zipped up but not seeing how to upload.

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
Participant ,
Sep 14, 2016 Sep 14, 2016

Copy link to clipboard

Copied

Upload using WeTransfer or Dropbox. Send me the link in a PM.

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
Enthusiast ,
Sep 14, 2016 Sep 14, 2016

Copy link to clipboard

Copied

Just sent a Google Drive link.

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
Participant ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

In addition, if you're going to use the Chrome debugger, the Adobe stuff has busted it in CC 2015.1 forward
Consult this issue thread for extra answers: Chrome Debugger scrolling is broken with CC 2015.1 update · Issue #35 · Adobe-CEP/CEP-Resources · Gi...

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
Participant ,
Sep 14, 2016 Sep 14, 2016

Copy link to clipboard

Copied

please check your 2nd line of your manifest.xml. It should say:

<ExtensionManifest Version="6.0" ExtensionBundleId="com.adobe.Test_Premiere01" ExtensionBundleVersion="1.0.1" ExtensionBundleName="Test_Premiere01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

That will give you node.js. Have fun

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
Enthusiast ,
Sep 14, 2016 Sep 14, 2016

Copy link to clipboard

Copied

LATEST

Sure enough, spot on solution.  Thanks Thomas for taking the time.

I've been looking to learn NodeJS since first hearing about it but never made the time.

Adobe plus Node.  Brilliant.

Thanks a million.

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