Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-13-2012, 11:00 AM
gowtham18110 gowtham18110 is offline
Junior Member
 
Join Date: Jun 2012
Posts: 2
gowtham18110 is on a distinguished road
Default

Help Please


Please Find Me Video Link.File will be his one /home2/video/telugu/180/10aj.mp4
Code:
 <td align="center" valign="top" style="background-color:#414C00;"><script language="javascript" type="text/javascript">

/** First write the HTML fallback to the page, so it'll be there even for devices that have poor JS support. **/

document.write("<div class='botrplayer ltas-ad' id='botr_yYul4DRz_329_6337_div'><a href=\"#\" title=\"Thanks,Excell Broadband\" style='display:block; width:608px; height:272px; background: #414C00 center; text-indent:-999px;'>Click to play video</a></div>");









/** Now define the BotR initialization class **/

if (typeof(BotR) == 'undefined') { var BotR = new Object(); }

BotR.swf = function (src,id,width,height,bgcolor,flv) {

    if (!document.getElementById) { return; }

    this.source = src;

    this.id = id;

    this.width = width;

    this.height = height;

    this.params = {

        'bgcolor':bgcolor,

        'allowfullscreen': 'true',

        'allowscriptaccess': 'always'

    };

    this.flv = flv;

    this.flashvars = new Object();

    this.version = this.getVersion();

    if (!window.opera && document.all && parseInt(this.version.split(',')[0]) > 7 && !BotR.unloadSet) {

        // fixes bug in some fp9 versions see http://blog.deconcept.com/2006/07/28/swfobject-143-released/

        BotR.cleanupSWFs = function() {

        var objects = document.getElementsByTagName("OBJECT");

            for (var i=objects.length - 1; i >= 0; i--) {

                objects[i].style.display = 'none';

                for (var x in objects[i]) {

                    if(typeof objects[i][x] == 'function') {

                        objects[i][x] = function(){};

                    }

                }

            }

        };

        BotR.prepUnload = function() {

            __flash_unloadHandler = function(){};

            __flash_savedUnloadHandler = function(){};

            window.attachEvent("onunload", BotR.cleanupSWFs);

        };

        window.attachEvent("onbeforeunload", BotR.prepUnload);

        BotR.unloadSet = true;

    }

};

BotR.swf.prototype = {

    /** Overwrite the div contents with the player, if the right Flash version is there.  **/

    loadSWF: function () {

        var major = parseInt(this.version.split(',')[0]);

        var minor = parseInt(this.version.split(',')[2]);

        var divid = this.id + '_div';

        if(major < 9) {

            return;

        } else if (major == 9 && minor < 98) {

            if(this.flv) {

                this.setFlashvar('file',this.flv);

                this.setFlashvar('hd.file',this.flv);

            } else { 

                return;

            }

        } else {

            this.params.wmode = 'opaque';

        }

        document.getElementById(divid).innerHTML = this.swfHtml();

    },

    /** Return the Flash plugin version to javascript. **/

    getVersion: function () {

        try {

            try {

                var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');

                try { axo.AllowScriptAccess = 'always'; }

                catch(e) { return '6,0,0'; }

            } catch(e) {}

            return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g, ',').match(/^,?(.+),?$/)[1];

        } catch(e) {

            try {

                if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){

                    return (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1];

                }

            } catch(e) {}

        }

        return '0,0,0';

    },

    /** Create the HTML string needed for the flash embed. **/

    swfHtml:function() {

        var html = "";

        var fv = this.getFlashvars();

        if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) {

            html = '<embed type="application/x-shockwave-flash" src="'+ this.source +'" width="'+ this.width +'" height="'+ this.height +'"';

            html += ' id="'+ this.id +'_swf" name="'+ this.id +'_swf" ';

            for(var key in this.params) { 

                html += [key] +'="'+ this.params[key] +'" ';

            }

            html += 'flashvars="'+ fv +'" />';

        } else {

            html = '<object id="'+ this.id +'_swf" name="'+ this.id +'_swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.width +'" height="'+ this.height +'">';

            html += '<param name="movie" value="'+ this.source +'" />';

            for(var key in this.params) { 

                html += '<param name="'+ key +'" value="'+ this.params[key] +'" />';

            }

            html += '<param name="flashvars" value="'+ fv +'" />';

            html += "</object>";

        }

        return html;

    },

    /** Add a flashvar to the list. **/

    setFlashvar: function(name,value) {

        this.flashvars[name] = encodeURIComponent(value);

    },

    /** Return a concatenated string of flashvars. **/

    getFlashvars: function () {

        var pairs = new Array();

        for(var key in this.flashvars) {

            pairs[pairs.length] = key+"="+this.flashvars[key];

        }

        return pairs.join('&');

    }

};





/** Now the class has been set up, initialize the player, inject all flashvars and start. **/

var temp = Math.round(1000 * Math.random());

var botr_yYul4DRz_329_6337 = new BotR.swf("http://192.12.199.5/players/videoplayer.swf?"+temp,"botr_yYul4DRz_329_6337","608","272","#ffffff");



botr_yYul4DRz_329_6337.setFlashvar("shuffle","false");

botr_yYul4DRz_329_6337.setFlashvar("author","Excellmedia Bord ");

botr_yYul4DRz_329_6337.setFlashvar("image","photos/1112251324805409.jpeg");

//botr_yYul4DRz_329_6337.setFlashvar("plugins","sharing");

//-botr_yYul4DRz_329_6337.setFlashvar("height","272");

//botr_yYul4DRz_329_6337.setFlashvar("file","/kantri.mp4");

botr_yYul4DRz_329_6337.setFlashvar("file","/home2/video/telugu/180/10aj.mp4");

botr_yYul4DRz_329_6337.setFlashvar("linktarget","_self");

//botr_yYul4DRz_329_6337.setFlashvar("playlistsize","200");

botr_yYul4DRz_329_6337.setFlashvar("playlist","none");

//botr_yYul4DRz_329_6337.setFlashvar("sharing.code","<embed src='http://192.12.199.5/players/yYul4DRz-329-38983.swf' allowfullscreen='true' repeat="always" allowscriptaccess='always'/>");

botr_yYul4DRz_329_6337.setFlashvar("title","Thanks,Excell Broadband");

botr_yYul4DRz_329_6337.setFlashvar("frontcolor","000000");

//botr_yYul4DRz_329_6337.setFlashvar("width","608");

botr_yYul4DRz_329_6337.setFlashvar("autostart","true");

botr_yYul4DRz_329_6337.setFlashvar("backcolor","414C00");

botr_yYul4DRz_329_6337.setFlashvar("streamer","rtmpe://192.12.199.5/simplevideostreaming");

botr_yYul4DRz_329_6337.setFlashvar("type","rtmp");

botr_yYul4DRz_329_6337.setFlashvar("screencolor","000000");

botr_yYul4DRz_329_6337.setFlashvar("repeat","always");

botr_yYul4DRz_329_6337.setFlashvar("description","Excell Media"),

botr_yYul4DRz_329_6337.setFlashvar("tags","homepage www");

botr_yYul4DRz_329_6337.setFlashvar("dock","true");

botr_yYul4DRz_329_6337.setFlashvar("link","http://www.excellmedia.net/");

botr_yYul4DRz_329_6337.setFlashvar("displayclick","play");

botr_yYul4DRz_329_6337.setFlashvar("lightcolor","1369bf");

botr_yYul4DRz_329_6337.setFlashvar("displaytitle","true");

botr_yYul4DRz_329_6337.setFlashvar("stretching","exactfit");

botr_yYul4DRz_329_6337.setFlashvar("controlbar","over");

botr_yYul4DRz_329_6337.setFlashvar("id","botr_yYul4DRz_329_6337_swf");

botr_yYul4DRz_329_6337.setFlashvar("overstretch","none");

botr_yYul4DRz_329_6337.loadSWF();

</script>

Last edited by gowtham18110 : 06-13-2012 at 11:03 AM. Reason: more info
Reply With Quote
  #2  
Old 06-13-2012, 02:09 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Help Please


Quote:
Originally Posted by Forum rules v1.1
If you truly want definitive answers quickly and without
delay, please include link(s) to the web-page(s) with video(s)
stream-recorder.com/forum/announcement.php?f=4
Reply With Quote
  #3  
Old 06-19-2012, 08:51 AM
gowtham18110 gowtham18110 is offline
Junior Member
 
Join Date: Jun 2012
Posts: 2
gowtham18110 is on a distinguished road
Default

Re: Help Please


Here the problem is the video which i have given is on my local server
So,If i gave you the link it will be useless and it will not work.
Here is the link
192.12.199.5/movie_player.php?cat_id=1&aid=1857&part=3312
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:54 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons