Results 1 to 10 of 10

Thread: $video = if_null($video, 'Wc39Gad3NuY'); what is wrong with this? anybody see it?

  1. #1
    Member
    Join Date
    Dec 2010
    Location
    Nanaimo/Neskain-Halaut, BC, Canada, America
    Posts
    56

    Cool $video = if_null($video, 'Wc39Gad3NuY'); what is wrong with this? anybody see it?

    function set($var, $value)
    {
    $this->$var = $value;
    };

    function if_null($var, $ifNull = null)
    {
    return isset($var) ? $var : $ifNull;
    };
    function play_video($video)
    {
    $video = if_null($video, 'Wc39Gad3NuY');
    var $youtube_vid="http://www.youtube.com/v/" + $video + "?fs=1&hl=en_US&color1=0x5d1719&color2 =0xcd311b&autoplay=1&fullscreen=1&loop =3"
    var $facebook_comments="<div id='fb-root'></div><script src='http://connect.facebook.net/en_US/all.js#appId=138625706194912&amp;xfbml=1'></script><fb:live-stream event_app_id='138625706194912' width='502' height='500' xid='1" + $video + "' via_url='http://www.savagest.com' always_post_to_friends='true'><center><a target='I1' title='FEATURED VIDEO' href='http://www.savagest.com/feat_movie.php'><img border='0' id='img1' src='http://www.savagest.com/images/button54.jpg' height='80' width='246' alt='You are currently listening to DJ RANSUM featuring Ryakin Rip of Warclub ( IllumiNAZI <remix> )')'></a><a target='I1' title='RANDOM VIDEO' href='http://www.savagest.com/rand_movie.php'><img border='0' id='img2' src='http://www.savagest.com/images/button5.jpg' height='80' width='227' alt='You are currently listening to DJ RANSUM featuring Ryakin Rip ( IllumiNAZI <remix> )'></a></center></fb:live-stream>"
    document.write("<title>The Savagest featured Video ONLINE! iiisss! DJ RANSUM featuring RYAKIN RIP of WARCLUB ( IllumiNAZI -remix- )</title> <object width='100%' height='385'><embed src='" + $youtube_vid + "' type='application/x-shockwave-flash' allowfullscreen='true' allowScriptAccess='always' width='100%' height='385'></embed></object><br>" + $facebook_comments );
    };
    777 CoffEe, dOs, tHA haCKER GoOD 777
    ***WooP WooP WooP ***

  2. #2
    Member
    Join Date
    Dec 2010
    Location
    Nanaimo/Neskain-Halaut, BC, Canada, America
    Posts
    56
    that is for a javascript.js
    777 CoffEe, dOs, tHA haCKER GoOD 777
    ***WooP WooP WooP ***

  3. #3
    Senior Member Jordan's Avatar
    Join Date
    Dec 2010
    Location
    Australia m8
    Posts
    105
    In javascript you don't need $'s in variable names, that's a PHP thing.

    I don't think isset() exists in Javascript.. what are you trying to do? lol

    - I'm also sure its returning error messages on lines. If you can't see any, browse to your site in IE. and youll have popups galore.

  4. #4
    Administrator Specific's Avatar
    Join Date
    Dec 2010
    Posts
    185
    Seems like you're trying to mix and confuse the two different languages.

    I've changed out your if_null function and fixed a few other bugs that I saw.

    Code:
    function if_null(myVar, ifNull)
    {
        if(typeof(myVar) == undefined)
        {
            return ifNull;
        }
        else
        {
            return myVar;
        }
    }
    
    function play_video(video)
    {
    $video = if_null(video, 'Wc39Gad3NuY');
    var youtube_vid="http://www.youtube.com/v/" + video + "?fs=1&amp;hl=en_US&amp;color1=0x5d1719&amp;color2 =0xcd311b&amp;autoplay=1&amp;fullscreen=1&amp;loop =3";
    var facebook_comments = '<div id="fb-root"></div><scr'+'ipt src="http://connect.facebook.net/en_US/all.js#appId=138625706194912&amp;xfbml=1"></scr'+'ipt><fb:live-stream event_app_id="138625706194912" width="502" height="500" xid="1' + video + '" via_url="http://www.savagest.com" always_post_to_friends="true"><center><a target="I1" title="FEATURED VIDEO" href="http://www.savagest.com/feat_movie.php"><img border="0" id="img1" src="http://www.savagest.com/images/button54.jpg" height="80" width="246" alt="You are currently listening to DJ RANSUM featuring Ryakin Rip of Warclub ( IllumiNAZI <remix> )"></a><a target="I1" title="RANDOM VIDEO" href="http://www.savagest.com/rand_movie.php"><img border="0" id="img2" src="http://www.savagest.com/images/button5.jpg" height="80" width="227" alt="You are currently listening to DJ RANSUM featuring Ryakin Rip ( IllumiNAZI <remix> )"></a></center></fb:live-stream>';
    document.write("<title>The Savagest featured Video ONLINE! iiisss! DJ RANSUM featuring RYAKIN RIP of WARCLUB ( IllumiNAZI -remix- )</title> <object width=\"100%\" height=\"385\"><embed src=\"" + youtube_vid + "\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" allowScriptAccess=\"always\" width=\"100%\" height=\"385\"></embed></object><br>" + facebook_comments);
    };
    <script> tags in strings will give errors on different browsers, so I split it up.

  5. #5
    Member
    Join Date
    Dec 2010
    Location
    Nanaimo/Neskain-Halaut, BC, Canada, America
    Posts
    56
    function if_empty( $var, $empty )
    {
    if ( $var=='' || $var==' ' || $var==null || $var==undefined )
    {
    return ( $var=='' || $var==' ' || $var==null || $var==undefined ) ? $empty : $var;
    }
    };


    // Example: var $video = if_empty($video, 'yourvideohere');
    function play_video($video)
    {
    var $video = if_empty($video, 'bXmTEubC9Vk');
    alert('You are watching ' + $video);
    };
    777 CoffEe, dOs, tHA haCKER GoOD 777
    ***WooP WooP WooP ***

  6. #6
    Administrator Specific's Avatar
    Join Date
    Dec 2010
    Posts
    185
    You get it working?

  7. #7
    Member
    Join Date
    Dec 2010
    Location
    Nanaimo/Neskain-Halaut, BC, Canada, America
    Posts
    56

    Cool NOW THIS IS MY WORKING PRODUCT! common free game for7 ERasER 7

    Code:
     
    function if_empty( $var, $empty )
    {
    if ( $var=='' || $var==' ' || $var==null || $var==undefined )
    {
    return ( $var=='' || $var==' ' || $var==null || $var==undefined ) ? $empty : $var;
    } else {
    return $var;
    };
    };
     
     
     
     
    function play_feature( $host, $video )
    {
    var $host = if_empty($host, '1');
    var $video = if_empty($video, 'AUr3ShsQQvg');
     
     
    var $facebook_comments="<div id='fb-root'></div><script src='http://connect.facebook.net/en_US/all.js#appId=138625706194912&xfbml=1'></script><center><fb:live-stream event_app_id='138625706194912' width='502' height='500' xid='1" + $video + "' via_url='http://www.savagest.com' always_post_to_friends='true'><a target='I1' title='FEATURED VIDEO' href='http://www.savagest.com/feat_movie.php'><img border='0' id='img1' src='http://www.savagest.com/images/button54.jpg' height='57' width='250' alt='You are currently listening to DJ RANSUM featuring Ryakin Rip of Warclub ( IllumiNAZI [remix] )'></a><a target='I1' title='RANDOM VIDEO' href='http://www.savagest.com/rand_movie.php'><img border='0' id='img2' src='http://www.savagest.com/images/button5.jpg' height='57' width='250' alt='You are currently listening to DJ RANSUM featuring Ryakin Rip ( IllumiNAZI [remix] )'></a><br></fb:live-stream></center>"
    if ($host=="1")
    {
    document.write("<title>The Savagest featured Video ONLINE! is DJ RANSUM featuring RYAKIN RIP of WARCLUB ( IllumiNAZI [remix] )</title> <object width='100%' height='385'><embed src='http://www.youtube.com/v/" + $video + "?fs=1&hl=en_US&color1=0x5d1719&color2=0xcd311b&autoplay=1&fullscreen=1&hd=1&rel=0&loop=1&playlist=" + $video + "&feature=player_embedded' type='application/x-shockwave-flash' allowfullscreen='true' allowScriptAccess='always' width='100%' height='385'></embed></object><br>" + $facebook_comments );
    };
    };
    777 CoffEe, dOs, tHA haCKER GoOD 777
    ***WooP WooP WooP ***

  8. #8
    Member
    Join Date
    Dec 2010
    Location
    Nanaimo/Neskain-Halaut, BC, Canada, America
    Posts
    56

    Cool

    function play_random()
    {
    var mytitles=new Array()
    var imagelinks=new Array();
    imagelinks[1]="YWSo8lwGOkI";mytitles[1]="4cer Krew ( OH NO );";
    imagelinks[2]="yR3Nihz_EIw";mytitles[2]="4cer Krew ( The Entrance );";
    imagelinks[3]="Jx-NPke2dVU";mytitles[3]="Brotha LG featuring Eddie.Z ( Momma Dont Cry );";
    imagelinks[4]="uS7AH7wWstY";mytitles[4]="Cree Clan ( Aint No way that we ever be Faded );";
    imagelinks[5]="Y41hFkpelBY";mytitles[5]="Sun Down Styalisticz -Geo ( Wat u think about me );";
    imagelinks[6]="bCLGXleovl0";mytitles[6]="Ghost Tribe ( Night N Day );";
    imagelinks[7]="sHvvBNltmF8";mytitles[7]="Ghost Tribe ( Lonely Nights );";
    imagelinks[8]="i1boYkmQhr8";mytitles[8]="Poof featuring Mr.Moostikal ( Stayin Wasted );";
    imagelinks[9]="ic4x6TfcFl4";mytitles[9]="Joe the 4th Man featuring Lucia Reyes ( You were on his mind );";
    imagelinks[10]="tOtbn4utq2Q";mytitles[10]="J-Rez ( Make My Day );";
    imagelinks[11]="pRIUp6GkjgA";mytitles[11]="JSK ( Skin is my sin );";
    imagelinks[12]="AzSGwoAWzdY";mytitles[12]="Happy Freejo ( Love is Pain );";
    imagelinks[13]="Jwd2XJCQLjI";mytitles[13]="Tanya Tagaq with Kinnie Star ( Throat Singing );";
    imagelinks[14]="e-jq6RO_8_0";mytitles[14]="Litefoot ( Native Like Us );";
    imagelinks[15]="YhZ1Vn7chX0";mytitles[15]="The Capital GEO featuring MAMMA ES ( Up in this Game ); ";
    imagelinks[16]="K-EvNTT00YM";mytitles[16]="Charlie Stumble ( Exit to an Entrance-Quick Cash );";
    imagelinks[17]="K2fwPBnMd9o";mytitles[17]="Native Outlaw Warren B featuring Rez Il ( The Chapter [ Remix ] );";
    imagelinks[18]="L0ujc1bCeF8";mytitles[18]="Peek-O ( Its Time );";
    imagelinks[19]="V9Viq3S6UZI";mytitles[19]="NB Ridaz ( Lost in Love );";
    imagelinks[20]="KZbAbXjqJmI";mytitles[20]="Poetic Warriorz ( This Life is Killin Me );";
    imagelinks[21]="yjH4C_FkHIw";mytitles[21]="";
    imagelinks[22]="aRglS0D70cs";mytitles[22]="RedCloud ( Tapatio );";
    imagelinks[23]="ea1gGbtRfVQ";mytitles[23]="War Party ( All for one );";
    imagelinks[24]="XmefXyL0meI";mytitles[24]="Rollin N Lil Spade ( My Life );";
    imagelinks[25]="j11JJtRhZ5E";mytitles[25]="Runaway featuring harold B ( Warriors );";
    imagelinks[26]="6IBpjzLu3BQ";mytitles[26]="Trajadee ( Blood of Native );";
    imagelinks[27]="7pWzgGNDzAU";mytitles[27]="Tribe 2 Entertainment ( Haaladeeshliil );";
    imagelinks[28]="PIyCDr_ojV4";mytitles[28]="Tru Rez Crew ( Im a lucky one );";
    imagelinks[29]="761-6BRYh1U";mytitles[29]="War-party ( Thank you GOD );";
    imagelinks[30]="zb1jV2o5k68";mytitles[30]="Northern-reD ( Shuswap-violenciA );";
    imagelinks[31]="q_nwgmTHa60";mytitles[31]="Joey Stylez featuring Big Sav ( Sugercane );";
    imagelinks[32]="xQOlt-wDgjQ";mytitles[32]="";
    imagelinks[33]="IZZjSzsCmdQ";mytitles[33]="Lil Coup Rez Il ( Its Time );";
    imagelinks[34]="DrayXkAvGJ4";mytitles[34]="Lil Dre ( Day Dreaming );";
    imagelinks[35]="ywbD-06Zi64";mytitles[35]="The Lost Tribe ( Soldiers Reunite );";
    imagelinks[36]="k6eaDQ15wi4";mytitles[36]="Boss Hogg ( Trail of Tearz );";
    imagelinks[37]="5nY643wdghU";mytitles[37]="";
    imagelinks[38]="Ln2kzrHnI30";mytitles[38]="Suns Down South featuring Geo - ( Freestyle );";
    imagelinks[39]="rPBIMYlmy5A";mytitles[39]="JSK ( Hustle Bluez );";
    imagelinks[40]="tKEDmK_xP4Y";mytitles[40]="Suns Down South featuring Geo - The voice ( The Winter Snow );";
    imagelinks[41]="UFkZC5gq7gY";mytitles[41]="The DBA featuring Jessie and JPB ( I dont know );";
    imagelinks[42]="Ac1zhtRy7ZE";mytitles[42]="";
    imagelinks[43]="sz1y9eWInC8";mytitles[43]="The Savage King ( Savage Style );";
    imagelinks[44]="nyXLXzdWERg";mytitles[44]="N.D.N Family ( For my People );";
    imagelinks[45]="7Z2CO2XwNqI";mytitles[45]="";
    imagelinks[46]="xpxQ0BvzrwU";mytitles[46]="Lower Natural ( Free Style );";
    imagelinks[47]="FPlnxILdJoM";mytitles[47]="Da Okema ( Lets Get it Started );";
    imagelinks[48]="lVHazur5yo0";mytitles[48]="Blu ( This were I belong );";
    imagelinks[49]="9KMpoe-Cntg";mytitles[49]="Blu ( Talent );";
    imagelinks[50]="QMX1XvmEO98";mytitles[50]="Slym Sadie ( 46 Bars );";
    imagelinks[51]="CnOUJcFNYBY";mytitles[51]="";
    imagelinks[52]="H2VMUDaMalk";mytitles[52]="Writtyn ( I Hurt Inside );";
    imagelinks[53]="u1XVTlWYNKs";mytitles[53]="Maddie and Storm ( Rez Rap );";
    imagelinks[54]="OVK_8jgvKAQ";mytitles[54]="JUST FUCKING LISTEN TO THIS SOLDIER ( Message to yall Stalkers );";
    imagelinks[55]="qOAMbDM_YgM";mytitles[55]="Native Empire ( We Been Here );";
    imagelinks[56]="foySUrZXKAw";mytitles[56]="Forever Rain ( Warrior Song );";
    imagelinks[57]="rPm0zCImJJY";mytitles[57]="Jester tha crow ( Calgary Native rap );";
    imagelinks[58]="zpEikTJu7sc";mytitles[58]="4cer Krew ( Holding Me Down );";
    imagelinks[59]="bcajEQo1KQA";mytitles[59]="Native Empire ( Hypnotized );";
    imagelinks[60]="O2noAfYJgTc";mytitles[60]="Native Empire ( Throwdown );";
    imagelinks[61]="teMt1KYaKJc";mytitles[61]="";
    imagelinks[62]="teMt1KYaKJc";mytitles[62]="Native Outlawz ( One Last Time );";
    imagelinks[63]="g_cw_emLsNg";mytitles[63]="Dice ( Chocolate Diss );";
    imagelinks[64]="ppqlSysOTKs";mytitles[64]="";
    imagelinks[65]="w8mlm9jtcUE";mytitles[65]="";
    imagelinks[66]="eMdGr0E7Pjo";mytitles[66]="Negative Native Recordz - J.T.C ( Native Beats );";
    imagelinks[67]="odcKADbjRlI";mytitles[67]="Litefoot ( Know Me );";
    imagelinks[68]="P8bLwSZsT-U";mytitles[68]="Litefoot ( My Chick );";
    imagelinks[69]="NcHhzUK3BBs";mytitles[69]="Ez Chipz and SSP ( Closer Look );";
    imagelinks[70]="65p1uOSNSF8";mytitles[70]="Raskull featuring Rugg ( They cant save Me );";
    imagelinks[71]="jiTfXtmETZY";mytitles[71]="4cer Krew ( 2 Da Grave );";
    imagelinks[72]="GxWXDw-prVQ";mytitles[72]="Native Outlaw ( Aint seen much of Me );";
    imagelinks[73]="h3uq79XuYPc";mytitles[73]="Warren B ( Chapter 2 );";
    imagelinks[74]="UqzihJVUNBA";mytitles[74]="";
    imagelinks[75]="3K82flp_HSI";mytitles[75]="";
    imagelinks[76]="4L4pYwSFckc";mytitles[76]="Young Dee & The Sun-Setting Kid ( When Shes Gone );";
    imagelinks[77]="OzgViEdnK9U";mytitles[77]="";
    imagelinks[78]="lJU_Ib3R2FE";mytitles[78]="Them Boyz ( It Does not Matter );";
    imagelinks[79]="XueIh0polGE";mytitles[79]="Rez ( Every Girl );";
    imagelinks[80]="XVbWERn0QUs";mytitles[80]="Nativerecords ( Rez Life );";
    imagelinks[81]="6eI6XTD4bAI";mytitles[81]="Lazy Four (And I);";
    imagelinks[82]="O_wKPC1k3DE";mytitles[82]="Carradine ( Rez Life Boi );";
    imagelinks[83]="zA67MvO1HCg";mytitles[83]="Carradine ( Still on tha rez );";
    imagelinks[84]="kRfuBp1YgzU";mytitles[84]="Jilly Black ( We have it all );";
    imagelinks[85]="nyXLXzdWERg";mytitles[85]="Rez Official ( Prepped for WAR );";
    imagelinks[86]="aGWnxvySgDk";mytitles[86]="";
    imagelinks[87]="m44_J_Xb4Pc";mytitles[87]="Redsun ( Tribes );";
    imagelinks[88]="GAhGaNrT3yU";mytitles[88]="Boo Ya Tribe ( Bang Em All );";
    imagelinks[89]="48FjcumGLDk";mytitles[89]="Bigcrow ( Rez Life );";
    imagelinks[90]="ra5crE2RhDM";mytitles[90]="";
    imagelinks[91]="uIaYpW9bVdc";mytitles[91]="Suns Down South ( When The Sun Goes Down );";
    imagelinks[92]="rlefKy4z8X4";mytitles[92]="";
    imagelinks[93]="xl7IAXmNgXg";mytitles[93]="Yell & Skin ( Its WPP );";
    imagelinks[94]="-lzhMTDZSEo";mytitles[94]="Fat-Boy ( I Am *2010* );";
    imagelinks[95]="OAlDwtp_JTM";mytitles[95]="Lunacy The Mid-West Ripper ( Rize wit me );";
    imagelinks[96]="tzPOEgDe2d8";mytitles[96]="Hip-Hop Style ( Pow woW );";
    imagelinks[97]="Kzmwo9SB2lA";mytitles[97]="Dani and Lizzy ( We were built to last );";
    imagelinks[98]="E-0a4JxG28A";mytitles[98]="Cypress Hill ( Tequila Sunrise );";
    imagelinks[99]="V5ZjJgOSp4E";mytitles[99]="DJ Ransum ( I love Hip-Hop );";
    imagelinks[100]="2aEGvXmAEnk";mytitles[100]="Rapsure Risin ( The Lights Go Out );";

    var ry = Math.round(Math.random() * imagelinks.length);
    if (ry== 0)
    {
    ry = Math.round(Math.random() * imagelinks.length);
    }
    else if (ry > imagelinks.length)
    {
    ry = Math.round(Math.random() * imagelinks.length);
    }
    var $facebook_comment="<div id='fb-root'></div><script src='http://connect.facebook.net/en_US/all.js#appId=138625706194912&xfbml=1'></script><center><fb:comments xid='" + ry + "' numposts='100' width='502' title='" + mytitles[ry] + "' url='http://www.youtube.com/v/" + imagelinks[ry] + "?fs=1&hl=en_US&color1=0x5d1719&color2=0xcd311b&au toplay=1&fullscreen=1&playnext=1&hd=1&loop=1&playl ist=" + imagelinks[ry] + "&feature=player_embedded' publish_feed='true'><a target='I1' title='FEATURED VIDEO' href='http://www.savagest.com/feat_movie.php'><img border='0' id='img1' src='http://www.savagest.com/images/button54.jpg' height='57' width='250' alt='We are Currently Featuring DJ RANSUM and RYAKIN RIP of Warclub ( IllumiNAZI [remix] )'></a><a target='I1' title='RANDOM VIDEO' href='http://www.savagest.com/rand_movie.php'><img border='0' id='img2' src='http://www.savagest.com/images/button5.jpg' height='57' width='250' alt='You are currently listening to SONG #" + ry + " " + mytitles[ry] + "'></a></center><br></fb:comments>"
    document.write("<center><title>" + mytitles[ry] + "</title> <object width='100%' height='368' name='videoplayer' id='videoplayer'><embed src='http://www.youtube.com/v/" + imagelinks[ry] + "?fs=1&hl=en_US&color1=0x5d1719&color2=0xcd311b&au toplay=1&fullscreen=1&hd=1&rel=0&loop=1&playlist=" + imagelinks[ry] + "&feature=player_embedded' type='application/x-shockwave-flash' allowfullscreen='true' allowScriptAccess='always' width='100%' height='368'></embed></object><br>" + $facebook_comment);
    };
    777 CoffEe, dOs, tHA haCKER GoOD 777
    ***WooP WooP WooP ***

  9. #9
    Member
    Join Date
    Dec 2010
    Location
    Nanaimo/Neskain-Halaut, BC, Canada, America
    Posts
    56

    Re: $video = if_null($video, 'Wc39Gad3NuY'); what is wrong with this? anybody see

    great thanks zonehacks staff for keeping this post, http://www.savagest.com now to record new Music Videos and what ever else there is to do on the Native Lists...
    777 CoffEe, dOs, tHA haCKER GoOD 777
    ***WooP WooP WooP ***

  10. #10
    Member
    Join Date
    Dec 2010
    Location
    Nanaimo/Neskain-Halaut, BC, Canada, America
    Posts
    56

    Re: $video = if_null($video, 'Wc39Gad3NuY'); what is wrong with this? anybody see

    Quote Originally Posted by Specific View Post
    Seems like you're trying to mix and confuse the two different languages.

    I've changed out your if_null function and fixed a few other bugs that I saw.

    Code:
    function if_null(myVar, ifNull)
    {
        if(typeof(myVar) == undefined)
        {
            return ifNull;
        }
        else
        {
            return myVar;
        }
    }
    
    function play_video(video)
    {
    $video = if_null(video, 'Wc39Gad3NuY');
    var youtube_vid="http://www.youtube.com/v/" + video + "?fs=1&amp;hl=en_US&amp;color1=0x5d1719&amp;color2 =0xcd311b&amp;autoplay=1&amp;fullscreen=1&amp;loop =3";
    var facebook_comments = '<div id="fb-root"></div><scr'+'ipt src="http://connect.facebook.net/en_US/all.js#appId=138625706194912&amp;xfbml=1"></scr'+'ipt><fb:live-stream event_app_id="138625706194912" width="502" height="500" xid="1' + video + '" via_url="http://www.savagest.com" always_post_to_friends="true"><center><a target="I1" title="FEATURED VIDEO" href="http://www.savagest.com/feat_movie.php"><img border="0" id="img1" src="http://www.savagest.com/images/button54.jpg" height="80" width="246" alt="You are currently listening to DJ RANSUM featuring Ryakin Rip of Warclub ( IllumiNAZI <remix> )"></a><a target="I1" title="RANDOM VIDEO" href="http://www.savagest.com/rand_movie.php"><img border="0" id="img2" src="http://www.savagest.com/images/button5.jpg" height="80" width="227" alt="You are currently listening to DJ RANSUM featuring Ryakin Rip ( IllumiNAZI <remix> )"></a></center></fb:live-stream>';
    document.write("<title>The Savagest featured Video ONLINE! iiisss! DJ RANSUM featuring RYAKIN RIP of WARCLUB ( IllumiNAZI -remix- )</title> <object width=\"100%\" height=\"385\"><embed src=\"" + youtube_vid + "\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" allowScriptAccess=\"always\" width=\"100%\" height=\"385\"></embed></object><br>" + facebook_comments);
    };
    <script> tags in strings will give errors on different browsers, so I split it up.
    Thanks dude, glad you knew that Fact... it helped out and is a good fact to memorize and re-collect in the future...
    777 CoffEe, dOs, tHA haCKER GoOD 777
    ***WooP WooP WooP ***

Tags for this Thread

Posting Permissions

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