Video component in Adobe Animate Canvas


I have a question regarding adobe Animate canvas.

On the stage I have a video component.

I also have 3 buttons on stage. When I click the button it adds the corresponding movie in the video component.

The problem is when I publish the empty video component looks like a black rectangle with words error in it. When I click on the button the movie replaces the empty video component.

I do not want the empty video component showing until I click on the button.

Can you tell me how I can do that.

Can you share the example?