2000 Toyota Camry - rubber stripping on windshield

This is the perfect video for my question. The rubber stripping at the top of my windshield has come loose. What can I do to permanently hold it in place? Right now I’m using duct tape!

Go to the parts store and purchase this.

Since the trim has come loose, totally remove it.

Clean the groove for the trim with brake parts cleaner and a soft brush

Apply the adhesive in the groove and reinstall the trim.

Use MASKING tape to hold the trim in place for 24 hours.

Remove the masking tape.

Tester