Floating windows for videos?

Is there a way to pin a video window to the top and view its playback? Whenever I try, the video continues to play but it freezes on a single frame while I work in another application.

unfortunately not for DRM protected videos. For web based players line netflix etc you could use a floating webview instead.