Use the vlc plug-in to embed the IP camera into the webpage and play the RTSP stream, vlcrtsp1. Description
Recently, a project needs to embed the IP camera image into a web page. To reduce development costs, use the vlc plug-in to play the
ASP. NET and JS get URL and IP address
Httpcontext. Current. Request. url. tostring () is not reliable.
If the current URL isHttp: // localhost/search. aspx? User = http://csharp.xdowns.com tag = % BC % Ca % F5
Obtained Through httpcontext. Current. Request.
Get the domain name of the URL in Java or IP and port get IP and domain name method one, use regular expressionsPublicstatic string GetIP (string url) {Filter using regular expressions, String re =((HTTP|FTP|HTTPS)://) (([a-za-z0-
"Http://pv.sohu.com/cityjson?ie=utf-8" >Script>ScriptType="Text/javascript" >Window.onload=function() {gettime ();JS gets the current time GetIP ();JS Get client IP geturl ();JS gets the client current URL getrefer ();JS gets the URL of the parent page of the client's current page getuser_agent ();JS
The following lists are common (go from address: 78357238?locationnum=9fps=11. Set or get the entire URL as a stringWindow.location.href2. set or get the protocol portion of the URLWindow.location.protocol3. set or get the host part of the URLWindow.location.host4. set or get
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.