Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

direktan pristup .flv file-u

[es] :: Javascript i AJAX :: direktan pristup .flv file-u

[ Pregleda: 2000 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

blood_thirsty

Član broj: 129271
Poruke: 10
91.191.13.*



Profil

icon direktan pristup .flv file-u01.04.2008. u 22:11 - pre 196 meseci
Code:
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="ltr">
<head>
<title>Fartoons.org - Watch Cartoons Online</title>
<meta name="keywords" content="family guy,family,guy,watch family guy,american dad,american,dad,south park,south,park,tv,shows,movies,video,videos,watch,upload,share,tv episodes,directory,online,cartoons">
<meta name="description" content="Fartoons.org">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="./templates/default/style.css" />
<script src="insertwin.js" type="text/javascript"></script>
<script src="insertwinnbc.js" type="text/javascript"></script>
<script src="insertwinfox5.js" type="text/javascript"></script>

<script type="text/javascript" src="swfobject.js"></script>
<script language="javascript" type="text/javascript">
<!--
var captcha_reload_count = 0;
    var captcha_image_url = "./captcha.php";
  function new_captcha_image() {
    if (captcha_image_url.indexOf('?') == -1) {
          document.getElementById('captcha_image').src= captcha_image_url+'?c='+captcha_reload_count;
        } else {
          document.getElementById('captcha_image').src= captcha_image_url+'&c='+captcha_reload_count;
        }

    document.getElementById('captcha_input').value="";
    document.getElementById('captcha_input').focus();
    captcha_reload_count++;
  }

    function opendetailwindow() { 
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
  
  function right(e) {
    if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
      alert("� Copyright by Fartoons.org - Watch Cartoons Online");
      return false;
    }
    else if (event.button == 2 || event.button == 3) {
      alert("� Copyright by Fartoons.org - Watch Cartoons Online");
      return false;
    }
    return true;
  }

  if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown = right;
  }
  else if (document.all && !document.getElementById){
    document.onmousedown = right;
  }

    document.oncontextmenu = new Function("alert('� Copyright by Fartoons.org - Watch Cartoons Online');return false");

// -->
</script>
<link rel="alternate" type="application/rss+xml" title="RSS Feed: 12x02 - Britney's New Look (Comments)" href="http://www.fartoons.org/rss.ph...=comments&amp;image_id=432" />
</head>
<body bgcolor="#000000" text="#ffffff" link="#ffffff" vlink="#ffffff" alink="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
            <tr>
                <td>
                  <div align="center"> 
                    <table width="728" border="0" cellpadding="0">

                      <tr>

                        <td width="540" height="90" align="center"><!-- BEGIN STANDARD TAG - 728 x 90 - 4spark.com: Run-of-site - DO NOT MODIFY -->
                            <script type="text/javascript" src="http://adserving.cpxinteractiv...ion=231060&pop_nofreqcap=1"></script><!-- END TAG --><br />
<table width="684" border="0" align="center" cellpadding="5" cellspacing="0">
                <tr>
                  <td width="694"><a rel="nofollow" style="text-decoration:none;" href="http://www.mister-wong.de/" onClick="window.open('http://www.mister-wong.de/index.php?action=addurl&bm_url='+encodeURIComponent(location.href)+'&bm_notice=&bm_description='+encodeURIComponent(document.title)+'&bm_tags=');return false;" title="Add to: Mr. Wong"><img src="images/socializer/wong_trans.gif" alt="Add to: Mr. Wong" name="wong" width="20" height="20" border="0" id="wong" style="padding-top:3px;"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.webnews.de/" onClick="window.open('http://www.webnews.de/einstellen?url='+encodeURIComponent(document.location)+'&title='+encodeURIComponent(document.title));return false;" title="Add to: Webnews"> <img src="images/socializer/webnews_trans.gif" alt="Add to: Webnews" name="Webnews" width="20" height="20" border="0" id="Webnews" style="padding-top:3px;"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.icio.de/" onClick="window.open('http://www.icio.de/add.php?url='+encodeURIComponent(location.href));return false;" title="Add to: Icio"> <img style="padding-top:3px;" src="images/socializer/icio_trans.gif" alt="Add to: Icio" name="Icio" border="0" id="Icio"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://beta.oneview.de/" onClick="window.open('http://beta.oneview.de:80/quickadd/neu/addBookmark.jsf?URL='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;" title="Add to: Oneview"> <img style="padding-top:3px;" src="images/socializer/oneview_trans.gif" alt="Add to: Oneview" name="Oneview" border="0" id="Oneview"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.folkd.com/" onClick="window.open('http://www.folkd.com/submit/'+location.href);return false;');return false;" title="Add to: Folkd"> <img style="padding-top:3px;" src="images/socializer/folkd_trans.gif" alt="Add to: Folkd" name="Folkd" border="0" id="Folkd"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://yigg.de/" onClick="window.open('http://yigg.de/neu?exturl='+encodeURIComponent(location.href));return false" title="Add to: Yigg"> <img style="padding-top:3px;" src="images/socializer/yigg_trans.gif" alt="Add to: Yigg" name="Yigg" border="0" id="Yigg"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.linkarena.com/" onClick="window.open('http://linkarena.com/bookmarks/addlink/?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&desc=&tags=');return false;" title="Add to: Linkarena"> <img style="padding-top:3px;" src="images/socializer/linkarena_trans.gif" alt="Add to: Linkarena" name="Linkarena" border="0" id="Linkarena"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://digg.com/" onClick="window.open('http://digg.com/submit?phase=2&url='+encodeURIComponent(location.href)+'&bodytext=&tags=&title='+encodeURIComponent(document.title));return false;" title="Add to: Digg"> <img style="padding-top:3px;" src="images/socializer/digg_trans.gif" alt="Add to: Digg" name="Digg" border="0" id="Digg"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://del.icio.us/" onClick="window.open('http://del.icio.us/post?v=2&url='+encodeURIComponent(location.href)+'&notes=&tags=&title='+encodeURIComponent(document.title));return false;" title="Add to: Del.icio.us"> <img style="padding-top:3px;" src="images/socializer/del_trans.gif" alt="Add to: Del.icio.us" name="Delicious" border="0" id="Delicious"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://reddit.com/" onClick="window.open('http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;" title="Add to: Reddit"> <img style="padding-top:3px;" src="images/socializer/reddit_trans.gif" alt="Add to: Reddit" name="Reddit" border="0" id="Reddit"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.simpy.com/" onClick="window.open('http://www.simpy.com/simpy/LinkAdd.do?title='+encodeURIComponent(document.title)+'&tags=&note=&href='+encodeURIComponent(location.href));return false;" title="Add to: Simpy"> <img style="padding-top:3px;" src="images/socializer/simpy_trans.gif" alt="Add to: Simpy" name="Simpy" border="0" id="Simpy"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.stumbleupon.com/" onClick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;" title="Add to: StumbleUpon"> <img style="padding-top:3px;" src="images/socializer/stumbleupon_trans.gif" alt="Add to: StumbleUpon" name="StumbleUpon" border="0" id="StumbleUpon"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://slashdot.org/" onClick="window.open('http://slashdot.org/bookmark.pl?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;" title="Add to: Slashdot"> <img style="padding-top:3px;" src="images/socializer/slashdot_trans.gif" alt="Add to: Slashdot" name="Slashdot" border="0" id="Slashdot"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.netscape.com/" onClick="window.open('http://www.netscape.com/submit/?U='+encodeURIComponent(location.href)+'&T='+encodeURIComponent(document.title));return false;" title="Add to: Netscape"> <img style="padding-top:3px;" src="images/socializer/netscape_trans.gif" alt="Add to: Netscape" name="Netscape" border="0" id="Netscape"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.furl.net/" onClick="window.open('http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(location.href)+'&keywords=&t='+encodeURIComponent(document.title));return false;" title="Add to: Furl"> <img style="padding-top:3px;" src="images/socializer/furl_trans.gif" alt="Add to: Furl" name="Furl" border="0" id="Furl"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.yahoo.com/" onClick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&d=&tag=&u='+encodeURIComponent(location.href));return false;" title="Add to: Yahoo"> <img style="padding-top:3px;" src="images/socializer/yahoo_trans.gif" alt="Add to: Yahoo" name="Yahoo" border="0" id="Yahoo"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.spurl.net/" onClick="window.open('http://www.spurl.net/spurl.php?v=3&tags=&title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(document.location.href));return false;" title="Add to: Spurl"> <img style="padding-top:3px;" src="images/socializer/spurl_trans.gif" alt="Add to: Spurl" name="Spurl" border="0" id="Spurl"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.google.com/" onClick="window.open('http://www.google.com/bookmarks/mark?op=add&hl=en&bkmk='+encodeURIComponent(location.href)+'&annotation=&labels=&title='+encodeURIComponent(document.title));return false;" title="Add to: Google"> <img style="padding-top:3px;" src="images/socializer/google_trans.gif" alt="Add to: Google" name="Google" border="0" id="Google"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.blinklist.com/" onClick="window.open('http://www.blinklist.com/index...Description=&Tag=&Url='+encodeURIComponent(location.href)+'&Title='+encodeURIComponent(document.title));return false;" title="Add to: Blinklist"> <img style="padding-top:3px;" src="images/socializer/blinklist_trans.gif" alt="Add to: Blinklist" name="Blinklist" border="0" id="Blinklist"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://blogmarks.net/" onClick="window.open('http://blogmarks.net/my/new.php?mini=1&simple=1&url='+encodeURIComponent(location.href)+'&content=&public-tags=&title='+encodeURIComponent(document.title));return false;" title="Add to: Blogmarks"> <img style="padding-top:3px;" src="images/socializer/blogmarks_trans.gif" alt="Add to: Blogmarks" name="Blogmarks" border="0" id="Blogmarks"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.diigo.com/" onClick="window.open('http://www.diigo.com/post?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&tag=&comments='); return false;" title="Add to: Diigo"> <img src="images/socializer/diigo.gif" alt="Add to: Diigo" name="Diigo" width="20" height="20" border="0" id="Diigo" style="padding-top:3px;"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.technorati.com/" onClick="window.open('http://technorati.com/faves?add='+encodeURIComponent(location.href)+'&tag=');return false;" title="Add to: Technorati"> <img src="images/socializer/technorati.gif" alt="Add to: Technorati" name="Technorati" width="20" height="20" border="0" id="Technorati" style="padding-top:3px;"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.newsvine.com/" onClick="window.open('http://www.newsvine.com/_wine/save?popoff=1&u='+encodeURIComponent(location.href)+'&tags=&blurb='+encodeURIComponent(document.title));return false;" title="Add to: Newsvine"> <img style="padding-top:3px;" src="images/socializer/newsvine_trans.gif" alt="Add to: Newsvine" name="Newsvine" border="0" id="Newsvine"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.blinkbits.com/" onClick="window.open('http://www.blinkbits.com/bookmarklets/save.php?v=1&title='+encodeURIComponent(document.title)+'&source_url='+encodeURIComponent(location.href)+'&source_image_url=&rss_feed_url=&rss_feed_url=&rss2member=&body=');return false;" title="Add to: Blinkbits"> <img style="padding-top:3px;" src="images/socializer/blinkbits_trans.gif" alt="Add to: Blinkbits" name="Blinkbits" border="0" id="Blinkbits"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://ma.gnolia.com/" onClick="window.open('http://ma.gnolia.com/bookmarklet/add?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&description=&tags=');return false;" title="Add to: Ma.Gnolia"> <img style="padding-top:3px;" src="images/socializer/ma.gnolia_trans.gif" alt="Add to: Ma.Gnolia" name="MaGnolia" border="0" id="MaGnolia"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://smarking.com/" onClick="window.open('http://smarking.com/editbookmark/?url='+ location.href +'&description=&tags=');return false;" title="Add to: Smarking"> <img style="padding-top:3px;" src="images/socializer/smarking_trans.gif" alt="Add to: Smarking" name="Smarking" border="0" id="Smarking"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://www.netvouz.com/" onClick="window.open('http://www.netvouz.com/action/submitBookmark?url='+encodeURIComponent(location.href)+'&description=&tags=&title='+encodeURIComponent(document.title)+'&popup=yes');return false;" title="Add to: Netvouz"> <img style="padding-top:3px;" src="images/socializer/netvouz_trans.gif" alt="Add to: Netvouz" name="Netvouz" border="0" id="Netvouz"> </a> <a rel="nofollow" style="text-decoration:none;" href="http://en.wikipedia.org/wiki/Social_bookmarking" target="_Blank" title="Information"> <img style="padding-top:3px;" src="images/socializer/what_trans.gif" alt="Information" name="Information" border="0" id="Information"> </a></td>

                </tr>
              </table>
                        </td>
                      </tr>
                    </table>
                    <table width="728" border="0" cellpadding="0">
                      <tr>
                        <td width="540"><table width="540" border="0" cellspacing="0" cellpadding="0">
                          <tr>

                            <td width="391"><span class="clickstream"><a href="./index.php" class="clickstream">Home</a>&nbsp;/&nbsp;<a href="./categories.php?cat_id=19" class="clickstream">South Park</a>&nbsp;/&nbsp;<a href="./categories.php?cat_id=38" class="clickstream">Season 12</a>&nbsp;/&nbsp;12x02 - Britney's New Look</span></td>
                            <td width="149" bgcolor="#666666"><img src="images/detail-logo.jpg" width="149" height="17" /></td>
                          </tr>
                                                </table>                          <table width="540" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>

                            <td align="center" bgcolor="#000000"><embed src="http://www.fartoons.org/player/mediaplayer.swf" width="540"height="438" allowscriptaccess="always" allowfullscreen="true" flashvars="height=438&width=540&file=http://player0102.tudou.com/flv/015/802/220/15802220.flv&backcolor=0x990000&logo=http://www.fartoons.org/player/player-logo.png&overstretch=true&autostart=true"/></td>
                          </tr>
                          <tr>
                            <td height="30" align="center" valign="middle" bgcolor="#000000"><span class="style1">To Download Episodes <a href="http://www.fartoons.org/download.html">Click Here</a>&nbsp;&nbsp;|&nbsp;&nbsp;Remove ads and speed up page load time. <a href="http://www.fartoons.org/noads.html" target="_blank">Click here.</a> </span></td>
                          </tr>
                                                  </table></td>

                        <td width="182" align="center" valign="middle">Get the Firefox browser or many of the videos may appear to be broken links. It's free!<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9910260280165543";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as_rimg";
google_cpa_choice = "CAEQ0eSZzgEaCCmL8ncyUrSSKPG193MwAFgB";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<br />
Internet Explorer 6.5 - 7, by law can not easily show all embeded content. Almost all web videos ARE embeded content. <br />
<br />
If you are having trouble loading a video...or you watch alot of video on the web...<br />
<br />
Click above to get Firefox NOW!</td>

                      </tr>
                      
                      <tr>
                        <td height="90" colspan="2" align="center"><!-- BEGIN STANDARD TAG - 728 x 90 - 4spark.com: Run-of-site - DO NOT MODIFY -->
<SCRIPT TYPE="text/javascript" SRC="http://adserving.cpxinteractiv...ion=231060&pop_nofreqcap=1"></SCRIPT>
<!-- END TAG --><!-- BEGIN STANDARD TAG - popunder only - metapus.com: Run-of-site - DO NOT MODIFY -->
<SCRIPT TYPE="text/javascript" SRC="http://adserving.cpxinteractiv..._times=1&pop_frequency=480"></SCRIPT>
<!-- END TAG --></td>
                      </tr>
                    </table>
                    <br />

                 </div></td>
            </tr>
        </table>
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=2914044; 
var sc_invisible=0; 
var sc_partition=30; 
var sc_security="2f2b4275"; 
</script>

<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c31.statcounter.com/2914044/0/2f2b4275/0/" alt="free website hit counter" /></a></div></noscript>
<!-- End of StatCounter Code --> 



Ovako, znam da ce me 95% ljudi napasti zbog ovoliko velikog code-a. Ne znam mnogo o javascript-u i zato sam dosao ovdje da postavim pitanje. Na site-u (sa koga sam uzeo ovaj code) se koristi nekakva scripta koja omogucava direktan pristupu videu. Znaci umjesto link-a koji omogucava stream-ovanje sa site-a oni dobijaju .flv link sa kojim imaju direktan pristup videu. Evo primjer http://player0102.tudou.com/flv/015/802/220/15802220.flv . Samo me zanima kako mogu doci do takve scripte i da li postoji drugi nacin da od normalnog tube link-a dobijem .flv link. Svi tube grabber-i rade na taj nacin, obican link pretvaraju u .flv koji im daje mogucnost za download.(ne zelim da downloadujem video zelim da mogu da ga ubacim u flash player na svom site-u) Da li neko zna nesto sto bi mi moglo pomoci? Hvala
 
Odgovor na temu

Aleksandar Ružičić
Software Architect, Appricot d.o.o.
Beograd

Član broj: 26939
Poruke: 2881

Jabber: krckoorascic@gmail.com
Sajt: krcko.net


+44 Profil

icon Re: direktan pristup .flv file-u02.04.2008. u 01:36 - pre 196 meseci
koristi youtube API, imas tamo mogucnost da preuzmes "chromeless" sadrzaj, tj samo flv bez onog youtube-ovog okvira ("plejera")

evp, npr Ext JS Ext.ux.YoutubePlayer koristi chromeless API (ali ti Ext nece biti nimalo lak za razumevanje ako ti javascript nije jaca strana)
 
Odgovor na temu

[es] :: Javascript i AJAX :: direktan pristup .flv file-u

[ Pregleda: 2000 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.