+9
Answered: Discussion Open

Video Stream with password

DaveJake 1 year ago in Media Tiles / Video Camera Feeds • updated by Terry (ActionTiles) (Co-Founder) 11 months ago 12 2 duplicates

I have a Linksys WVC80N video camera.  I can view the video in a tile on my PC and iOS device.  But on an Android Nook with Chrome browser, the video feed does not work, most likely as it won't let me add a username and password. 


I can access the video via URL, if I could pass the username:password.  How do I use a URL like:  http://username:pwd@xxx.xxx.xxx.xxx/img/video.mjpeg ?  the ActionTiles media tile won't let me use this syntax.

Android

Answer

Answer
Answered: Discussion Open

Chrome now blocks "basic http authentication in embedded URLs" (i.e., URLs of the form "https://username:pwd@address").


You might have success with Firefox; or find out if your camera allows authentication as parameters (i.e., video.mjpeg?user=userID&password=pwd) ... but the parameters are not standard across camera vendors and models, so I don't know what they would be.

Duplicates 2

+1
Discuss

What browser(s) have you tried?


Google Chrome is going to block the "http(s)://user:password" format soon (or already has?) but we can at least try to avoid calling it invalid on our end.

I have tried it in Chrome, Edge, and Opera.  The URL works fine in a tab by itself, but never works in ActionTiles.  Repeatedly says "Enter valid URL to preview".  I can even right click and open the image in a new tab, but will not refresh or show in Actiontiles at all.  Would the image resolution affect it showing?

Waiting for Customer

If you have an externally view-able camera link that you can temporarily share a password to me; please email: Support@ActionTiles.com and I try to do some debugging.


I suspect a bug on our end.

Answer
Answered: Discussion Open

Chrome now blocks "basic http authentication in embedded URLs" (i.e., URLs of the form "https://username:pwd@address").


You might have success with Firefox; or find out if your camera allows authentication as parameters (i.e., video.mjpeg?user=userID&password=pwd) ... but the parameters are not standard across camera vendors and models, so I don't know what they would be.

I'm having the same issues, for a Dlink camera.  I don't understand why the URL works when I go directly to it in Chrome, but it fails to load when I use AT in Chrome.  That tells me that Chrome isn't blocking the basic authentication....the combination of AT+Chrome is blocking it.

JB,


It's not "the combination of AT+..."

Chrome blocks the authenticated URL whenever it is embedded in any web page.


While viewing your Panel on desktop Chrome, press F12 and view the "Console" tab and you'll see the error or warning. I think Firefox does not block it.

ah....it's the "embedded" part that is different.  I see. 

Waiting for Customer
  • What browser are you using on the Galaxy?
  • Have you tried a different browser like Firefox or Opera?
  • What is the URL format for your camera(s)?


Thanks

,... Terry.

I tried Chrome and Samsung internet and its not working. I just downloaded & tired firefox and it is working.

Also it is on all Galaxy devices - I tired it also on S7 - same behavior.

the URL for the camera is a simple http://user:password@public ip:port/video

Answered

Chrome (and Android Webview) blocks embedded content which uses HTTP basic Authentication (user:password@address).


Besides using a different browser, the sometimes workaround is to remove user:password and your browser might prompt for it, or you can try first opening & logging into just the stream in another tab.


Please see:  https://support.actiontiles.com/communities/12/topics/2155-video-stream-with-password#comment-9489