How to setup a slide bar in a widget to set Sound Level

Hi All

Posted in answer hub, but thought I would post here to

Sound Bar

I recently disconnected this sound bar while doing some rebuilding. When i attempted to re-connect, this issue occurred. The optical out door on the tv broke, leaving a loose connection.