Results 1 to 3 of 3

Thread: Help with JavaScript

  1. #1

    Help with JavaScript

    i need this so the the video has finished, id like to just put it in the url and have it do it, as i CANT edit the code, other than on my end
    Code:
     <script language="javascript" type="text/javascript">
            var glblBlnVideoComplete = false;
            function CallUpdateTime(){
                __doPostBack_s('ctl00$ContentPlaceHolderBody$pnlUpdateTime', '');
            }
            
            function CallUpdateCC(){
                __doPostBack_s('ctl00$ContentPlaceHolderBody$pnlUpdateCC', '');
            }
            
            function CallDisplayAssessment(number){
                __doPostBack_s('ctl00$ContentPlaceHolderBodyTop$upnlLectureAssessment', number);
            }
            
            function CallUpdateServer(server)
            {
                //__doPostBack_s('ctl00$ContentPlaceHolderBody$pnlUpdateServer', server);
    //            var txt = document.getElementById('ctl00_ContentPlaceHolderBody_txtServer');
    //            if(txt)
    //            {
    //                txt.value=server;
    //                alert(server);
    //            }
            }
            
            function PlayVideo(){
                if(!glblVideoComplete)
                {
                    thisMovie("Player").playNextVideo();
                }
            }
            
            function trainingVideoWarning()
            {
                if(glblBlnVideoComplete)
                    return true;
                return confirm('This will log you out.  Are you sure?');
            }
            
            var GID = 287293536;
            function getGID()
            {
                if(thisMovie && thisMovie("Player") && typeof thisMovie("Player").setGID == "function")
                {
                    thisMovie("Player").setGID(GID);
                }
            }
            
            function loadTranscript(fileLocations)
            {
                PageMethods.GetTranscript(fileLocations, function(data) {
                    $('.jqTranscript').append(data);
                });
            }
        </script>

    Player code
    [JavaScript] player - Pastebin.com
    ProxyHelp.org - Free support, coding, active proxy list and more....
    Suffixproxy.com - Start your own or try one out, or submit your proxy to the list.
    Click Thanks if I Helped. and Register to Respond

  2. #2
    I really feel different. Thanks for providing the information.

  3. #3
    i really come here to answer after seeing your code i think i should go and learn it again im really a beginner in js i think you should tell me where to learn js completely

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •