USGS-WiM / fim-js

Flood inundation map libraries with real-time USGS river-level data.
Other
1 stars 2 forks source link

Webcam images forcing https breaks some embeds #592

Closed mitchas closed 1 year ago

mitchas commented 3 years ago

Line 1613 core.js $("#webcamImage").attr('src', feature.attributes.WEBCAM_INFO.replace('http:', 'https:'));

Loading St Paul webcam with HTTPS doesn't work https://webcams.ci.stpaul.mn.us/webcams/CityHallCam/cityhall.jpg

mitchas commented 2 years ago

Leaving this open because it's still an issue. I did add a fallback image to load if the webcam image is unavailable - just to let the user know it failed to load.

njestes commented 1 year ago

Going to call it that the fallback image is good enough right now. Going foward we'll use NIMS cams for FIM sites