|
Yes, just paste the following code into your web page and replace the end of the src= link with your own id: Note: your entire src= and id can be found from within your Control Panel, make sure your device is online and right click the "view" link, then Copy Shortcut, now just Paste that into your web page.
<HTML> <HEAD><TITLE>uViewit Live Cam</TITLE> <SCRIPT language="JavaScript"> <!-- function embPlayer() { // Get Operating System var isWin = navigator.userAgent.toLowerCase().indexOf("windows") != -1; var isLin = navigator.userAgent.toLowerCase().indexOf("linux") != -1; var isMac = navigator.userAgent.toLowerCase().indexOf("mac") != -1; if (isWin) visitorOS="Windows"; else if (isLin) visitorOS="Linux"; else if (isMac) visitorOS="Mac";
var userID = "david%23%1E%C94%2F%DA%2D1"; // change this line var objTypeTag = "application/x-mplayer2"; var objStream = "http://ms1.uviewit.com:88/msft.asp?id=" + userID; if (visitorOS == "Mac") { objTypeTag = "video/x-ms-asf"; objStream = "http://ms1.uviewit.com/m71kiueh"; // change this line } if (visitorOS == "Mac") { var link = document.referrer; if (link.search(location.href)!= -1) ; else document.write("<font size='1'>may take several seconds, if video does not play <a href='http://ms1.uviewit.com:88/mac.asp?id=" + userID + "'>click here</a>.</font><br>"); if (!detectQuickTime()) document.write("You need QuickTime.<br>"); if (!detectF4M()) document.write("Please install the <a href='http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx'>Flip4Mac plugin</a> for QuickTime, then reboot.<br>"); } document.writeln("<EMBED src='" + objStream + "' type='" + objTypeTag + "' autoplay='true' autostart='1' width=360 height=280 volume='-9' controller='1' PlayCount='7'></EMBED>"); document.close(); // Finalize document } function detectQuickTime() { return (detectPlugin('QuickTime')); } function detectF4M() { return (detectPlugin('Flip4Mac')); } function detectPlugin() { var daPlugins = detectPlugin.arguments; var pluginFound = false; if (navigator.plugins && navigator.plugins.length > 0) { var pluginsArrayLength = navigator.plugins.length; for (pluginsArrayCounter=0; pluginsArrayCounter < pluginsArrayLength; pluginsArrayCounter++ ) { var numFound = 0; for(namesCounter=0; namesCounter < daPlugins.length; namesCounter++) { if( (navigator.plugins[pluginsArrayCounter].name.indexOf(daPlugins[namesCounter]) >= 0) || (navigator.plugins[pluginsArrayCounter].description.indexOf(daPlugins[namesCounter]) >= 0) ) { numFound++; } } if (numFound == daPlugins.length) { pluginFound = true; break; } } } return pluginFound; } // detectPlugin
// --> </SCRIPT> </HEAD> <BODY> <BR> <SCRIPT language="JavaScript"> embPlayer(); </SCRIPT> <br> <NOSCRIPT> <EMBED src="http://ms1.uviewit.com:88/msft.asp?id=david%23%1E%C94%2F%DA%2D1" width=320 height=240 type="application/x-mplayer2" volume="-9" PlayCount="2" controller="1"></EMBED> </NOSCRIPT> </BODY> </HTML>
|
Add to Favourites
Print this Article
|