Thanks for you responce GreenBay42
Do I need to separate the url and username? so I would put my user name in where it says user and separate with a : and then my password instead of passs, do I keep the @ip
camera:
- platform: mjpeg
mjpeg_url: http://192.168.0.333 admin:pete@ip/video2.mjpg