Tape it to the bottom of the barrel, and it will work as advertised. Using a little tripod did not work for me. Just the slightest movement of the barrel would cause it to loose function and miss shots. There are some mount to the barrel adapters being sold now.
https://www.youtube.com/watch?v=-cXZFDW7F4s&t=1s