Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    collegare telecamera a media player

    salve, vorrei inserire nel mio sito un media player collegato ad una telecamera nella mia stanza, ora in rete ho trovato il codice del mediaplayer che è questo
    codice:
    <HTML>
    <HEAD>
    <TITLE>Document Title</TITLE>
    </HEAD>
    
    <BODY>
    
    <script language="JavaScript">
    <!--
        if ( navigator.appName == "Netscape" )
        {
            //-- This next line ensures that any plug-ins just installed are updated in the browser
            //-- without quitting the browser.
            navigator.plug-ins.refresh();
            // We don't need the APPLET within IE
            // ***Please note that if you do not need to script events, you can safely remove the next two lines
            document.write("\x3C" + "applet MAYSCRIPT Code=NPDS.npDSEvtObsProxy.class")
            document.writeln(" width=5 height=5 name=appObs\x3E \x3C/applet\x3E")
        }
    //-->
    </script>
    
    
    <OBJECT ID="MediaPlayer" WIDTH=320 HEIGHT=440 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
    standby="Loading Microsoft Windows Media Player components..."
    type="application/x-oleobject">
        <PARAM NAME="FileName" VALUE="Station1.asx">
        <PARAM NAME="ShowControls" VALUE="1">
        <PARAM NAME="ShowDisplay" VALUE="1">
        <PARAM NAME="ShowStatusBar" VALUE="1">
        <PARAM NAME="AutoSize" VALUE="1">
        <Embed type="application/x-mplayer2"
            pluginspage="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/"
            filename="Station1.asx"
            src="Station1.asx"
            Name=MediaPlayer
            ShowControls=1
            ShowDisplay=1
            ShowStatusBar=1
            width=320
            height=440>
        </embed>
    </OBJECT>
    
    </BODY>
    </HTML>
    come posso collegargli la telecamera ? qualcuno puo aiutarmi

    grazie Roberto

  2. #2
    Moderatore di Annunci siti web, Offro lavoro/collaborazione, Cerco lavoro L'avatar di cavicchiandrea
    Registrato dal
    Aug 2001
    Messaggi
    26,133
    Non puoi farlo in javascript sono due ambienti diversi, e ti sconsiglio di farlo anche gestendo il tutto lato server se non sei assolutamente sicuro di quello che stai facendo perché potresti esporre il computer a virus, attacchi hacker, etc...
    Cavicchi Andrea
    Problemi con javascript, jquery, ajax clicca qui

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.