Please note that to use Quick Look's video trimmer, you need to be running macOS Mojave or higher.
One more thing — make sure the media file is supported by Quick Look.
Those are MOV, MP4 (HEVC and H264 encoded) video and ACC, M4A, AIFF audio files. Currently, in 2019, it won't work for formats like Windows Media (wmv), for example.
Having moved these road blocks aside, let's get started.