@prayagk I don’t normally use OpenSeadragonViewerInputHook, but I do remember getting that particular error once before. The solution ended up being very simple. Like, I needed to rearrange my <script src=“”>’s or something like that. I know that doesn’t sound particularly helpful, but you might want to try looking into — what’s getting called or executed before what — first. It’s worth looking into.