Cannot view devices or dashboard after adding virtual camera

I am trying to Intergrate some sercomm icamera 2c on my dashboard. I found a driver that looks like it would do the job. The problem is after adding the virtual video device, I can no longer edit that device or get to the devices page. I click on devices, and when I click on the virtual video driver, it just sits like it is trying to load the page, but it never loads. I click on my dashboard, and it will not load. I tried to remove the driver, but it says it is in use. But I cannot delete the virtual video driver device. HALP! I put the driver code in so anyone that is an expert may be able to help. I am by no means an expert and am just getting started with Hubitat.

Thank you

/**
 *  Virtual Video driver
 *
 *  Copyright 2018 Chris Wilson
 *
 *  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 *  in compliance with the License. You may obtain a copy of the License at:
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
 *  on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
 *  for the specific language governing permissions and limitations under the License.
 *
 *  
 *
 
 * 
 */


preferences {
		input "video1", "text", title: "URL 1", description: "urL 1", required: true, displayDuringSetup: true
		input "video2", "text", title: "URL 2", description: "URL 2", required: true, displayDuringSetup: true
}


metadata {
	definition (name: "Virtual Video Driver", namespace: "cw", author: "cwwilson08") {
		
	    capability "Switch"
		
	    attribute "video", "text"
		attribute "video2", "text"
	}   
}

def on() {
	sendEvent(name: "motion", value: "active")
    sendEvent(name: "switch", value: "on")
	sendEvent(name: "video", value: "<iframe type=\"text/html\" frameborder=\"0\" width=\"480\" autoplay=\"true\" height=\"394\" src= \"${video1}\" allowfullscreen allowautoplay></iframe>")
	sendEvent(name: "video2", value: "<iframe type=\"text/html\" frameborder=\"0\" width=\"480\" autoplay=\"true\" height=\"394\" src= \"${video2}\" allowfullscreen allowautoplay></iframe>")
	
}

def off() {
    
    sendEvent(name: "switch", value: "off")
}

def installed() {
    on()
}

9

You can contact @cwwilson08 for help with the driver. To simply remove it if it's not responding, reboot the hub and then try to remove the driver after reboot (just click the gear icon to the left of it and then the remove button at the bottom of the page).

You might try commenting out the two video attributes, the html in them might be messing the page up.

Something changed since the 2.0 update causing problems with this. It does still work for me however. Try pushing the stop loading button.

The virtual driver I put out was really in hopes someone who knew better might be interested. If it continues to give trouble remove it.

If you can't get into the device shut down the video feeds. It should let you in the remove the device.

Thank you, after shutting off the camera, then enter the device and then stop loading the page, I was able to get into the device page. Then it was a simple matter to delete the device. Thank you for your help.

Would you know a way to add an IP camera to Hubitat? Maybe just a still image that refreshes every few seconds?

@chuck.gulotta Did you ever receive an answer on this and get your cameras working?