• 05-05-2007, 18:22:42
    #1
    arkadaşlar bir video sctripti editliyorumda örneğin video iframede açılıyor. frame değilde sayfa içinde göstermem için hangi kodlarla çağırmam gerekir örneğin video idi ni nasıl video playere tanımlaya bilirim?
  • 05-05-2007, 18:27:32
    #2
    Youtube videosu sanırım.

    Alıntı
    <embed src="http://www.youtube.com/v/<?php echo $video_id; ?>" width="100" height="100"></embed>
    Değilse;
    Alıntı
    <embed src="<?php echo $video_id; ?>" width="100" height="100"></embed>
  • 05-05-2007, 18:57:24
    #3
    ıhh olmadı
  • 05-05-2007, 19:05:41
    #4
    siirtsporlu adlı üyeden alıntı: mesajı görüntüle
    ıhh olmadı
    Düzenlemeye çalıştığın kodu buraya kısmen ekleyebilirsen yardımcı olmaya çalışırım.
  • 05-05-2007, 19:40:08
    #5
    1.item_description.php

    Alıntı
    <div id="top_uploads" class="block_2 clearfix">
    <ul class="navigation">
    <li class="selected"><span>Your pick</span></li>
    </ul>

    <span class="head"></span>

    <h2>{$itemsdesc.site_name}</h2>

    <div class="item_2">
    <a href="{$rel_root}index.php?module=item&action=show _item_full&itemurl={$itemsdesc.link}" target="_blank"><img src="{$itemsdesc.image}" width="100" height="100" /></a>

    <h3><a href="{$rel_root}index.php?module=item&action=show _item_full&itemurl={$itemsdesc.link}" target="_blank">{$itemsdesc.title}</a></h3>
    <p class="description">{$itemsdesc.description}</p>
    <p class="time">{$itemsdesc.time}</p>
    <ul class="options">
    <li class="view"><a href="{$rel_root}index.php?module=item&action=show _item_full&itemurl={$itemsdesc.link}" target="_blank"><img width="12" height="12" style="display: inline !important;" src="{$rel_root}img/icon_view.gif" /> View</a></li>
    <li class="more"><a href="{$rel_root}index.php?module=search&action=se arch_rss&rss_id={$itemsdesc.rss_data_id}">More from this site</a></li>
    <li class="favorites"><a href="{$rel_root}index.php?module=item&action=add_ to_favs&item_id={$itemsdesc.id}"><img width="12" height="10" style="display: inline !important;" src="{$rel_root}img/icon_fav.gif" /> Add to favorites</a></li>
    </ul>
    </div>
    <div class="links clearfix">
    <label>Link this post</label>
    <input class="text" type="text" value="{$itemurl}" />

    <label>Forum code</label>
    <input class="text last" type="text" value="{$forum_link}" />
    </div>

    <span class="foot"></span>
    </div>

    <div class="ad_3">
    {include file="ads_normal_1.tpl.php"}
    </div>



    2.item_view.php

    Alıntı
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    <head>
    <title>eehaa.com - rss site</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" content="en" />

    <link rel="stylesheet" href="css/styles.css" type="text/css" media="screen" />
    {literal}
    <style type="text/css">
    html, body, #wrapper, table {
    height: 100%;
    }
    #wrapper {
    width: 100%;
    }
    #header {
    position: relative;
    width: 770px;
    margin: 0 auto 10px auto;
    }
    iframe {
    border: none;
    }
    table {
    padding: 0 80px;
    }
    .ad_4 {
    position: absolute;
    right: 0;
    top: 25px;
    width: 234px;
    height: 60px;
    }
    </style>
    {/literal}

    </head>

    <body>

    <div id="wrapper">

    <!-- ************ -->
    <!-- header -->
    <!-- ************ -->
    <div id="header" style>
    <div class="ad_4">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="234" height="60">
    <param name="movie" value="img/234x60_phppod.swf" />
    <param name="quality" value="high" />
    <embed src="img/234x60_phppod.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="234" height="60"></embed>
    </object>
    </div>
    <ul id="main_navigation" class="clearfix">
    <li><a href="index.php" title="Home">Back to Site</a></li>
    </ul>
    </div>
    <!-- end of header -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="color" valign="top">
    <iframe height="700" width="100%" name="" scrolling="auto" src="{$itemsrc}"></iframe>
    </td>
    </tr>
    <tr>
    <td class="color" valign="top" align="center" style="padding-top: 10px;">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="728" height="90">
    <param name="movie" value="img/728x90_phppod.swf" />
    <param name="quality" value="high" />
    <embed src="img/728x90_phppod.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="728" height="90"></embed>
    </object>
    </td>
    </tr>
    </table>
    </body>
    </html>
  • 06-05-2007, 01:35:28
    #6
    Ersat arkadaşımıza tşk ederim sorun çözülmüştür