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

cep remove Component with qeSequence.getVideoTrackAt(0).getItemAt(0).getComponentAt(1);

Community Beginner ,
Mar 19, 2023 Mar 19, 2023

Copy link to clipboard

Copied

My hero,i want to remove one Component

 

app.enableQE();
var qeSequence = qe.project.getActiveSequence(0);
qeSequence.getVideoTrackAt(0).getItemAt(0).getComponentAt(1);

 

use QEComponent.remove().But i found that getComponentAt(1);This index of getComponentAt(index) only 0 and 1,it can not be 2,3,4 or more.How can i solve this problem?

TOPICS
SDK

Views

343

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 , Mar 19, 2023 Mar 19, 2023

The QE DOM is unsupported, and unrecommended. In the regular DOM, trackItem.remove() would be the right approach.

Votes

Translate

Translate
Community Beginner ,
Mar 19, 2023 Mar 19, 2023

Copy link to clipboard

Copied

OH,i found it is not the indexOf getComponentAt(index),but the getItemAt(0),when i make this getItemAt(1) ï¼Œit will fail.

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
Adobe Employee ,
Mar 19, 2023 Mar 19, 2023

Copy link to clipboard

Copied

LATEST

The QE DOM is unsupported, and unrecommended. In the regular DOM, trackItem.remove() would be the right approach.

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