IV editor crashing if changing video source

Description

Acceptance Criteria

Fix issue

Background

Reproduce:

  1. Create IV by uploading Video

  2. Add a text element to the video canvas

  3. Change source:

  • Delete the original video

  • Paste in youtube URL

Now you will find a JavaScript error in the console, and it won't be possible to use the editor anymore.

The problem seems that IV is deleted, but there's a window resize event listener still being active (which tries to use the deleted IV instance)

Environment

None

Acceptance Criteria

None

Activity

Thomas Marstrander November 1, 2018 at 10:35 AM

Looks good

Pål Jørgensen October 12, 2018 at 7:39 PM

This one is released.

Done

Details

Assignee

Reporter

Code reviewer

Original estimate

Time tracking

No time logged

Fix versions

Sprint

Priority

Created October 12, 2018 at 4:18 PM
Updated November 1, 2018 at 10:35 AM
Resolved October 12, 2018 at 7:39 PM