From b7b22eb78f1193a691ee47f11b60bbcd3aaefdf4 Mon Sep 17 00:00:00 2001 From: Tuomas Salokanto Date: Sun, 14 Jan 2024 10:18:30 +0200 Subject: [PATCH] Support custom IP camera (#3415) * Support custom IP camera Allow adding custom IP camera source while keeping possible built-in bambulab camera also functional and add button to switch between them. This uses WebView widget to show the stream. Upon loading the page, javascript is used to remove native controls and scroll- bars for aesthetic reasons. * Add partial support for PiP video HTMLVideoElement supports picture-in-picture video but the dedicated control is hidden in this implementation to have more integrated look in OrcaSlicer. Add right-click listener to the camera switch icon that opens the video element in a PiP window. Only works when the video is in