Webcam integraton problem

  • Platform information:
    • Hardware: Raspberry PI 3, Razberry z-wave module
    • OS: Raspbian GNU/Linux 9 (stretch)
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version: 2.2.0-1
  • Issue of the topic: unable to create sitemap with Video url

Frame label=“carport” {
Video url=“http://192.168.1.131/videostream.cgi?usr=admin&pwd=password” encoding=“mjpeg”
}

hi,
I´m working with Eclipse SmartHome Designer and want to see my webcam-video on the sitemap.
I use the video url above, but somehow the encoding parameter is not accepted. the designer reports the message:
Multiple markers at this line

  • mismatched input ‘encoding’ expecting ‘}’
  • The word ‘mjpeg’ is not correctly spelled

when removing the “encoding” parameter its fine, but the basicUI cant display the video content.

what is wrong with my commands?
thanks!

ESHD is EOL https://docs.openhab.org/configuration/editors.html

Ignore the markers. Does it work?

I replaced the quotationmarks and get no markers.

Frame label="carport" {Video url="http://192.168.1.131/videostream.cgi?usr=admin&pwd=password" encoding="mjpeg"}

PROBLEM SOLVED
thanks Harry,
I copied your command into ESHD, but same result, then I switched to Visual Studio Code and now it works.