%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/ua.nails.tv/smarty/templates_old/admin/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/ua.nails.tv/smarty/templates_old/admin/video_player.tpl.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>{$item.cim}</title>
<script type="text/javascript" src="{$wwwroot}/js/swfobject.js"></script>
<style type="text/css">
body {ldelim}
    margin: 0;
    padding: 0;
    background-color: #666666;
{rdelim}
#video_holder {ldelim}
    margin: 0 auto;
    width: 640px;
    height: 480px;
    text-align: center;
{rdelim}
object {ldelim}
    display: block;
    margin: 0 auto;
{rdelim}
</style>
</head>
<body>

{if empty($item)}

<div id="video_holder">
<strong>Videó nem található.</strong>
</div>

{else}

{*
<div id="video_holder">
    <object id="video_{$item.id}" height="{$item.height}" width="{$item.width}" type="application/x-shockwave-flash" data="{$wwwroot}/flash/mediaplayer.swf" style="visibility: visible;">
    <param name="wmode" value="transparent" />
    <param name="allowfullscreen" value="true" />
    <param name="bgcolor" value="#557722" />
    <param name="flashvars" value="file={$wwwroot}/video/{$item.file}&lightcolor=0x557722&searchbar=false&screencolor=0xFCFCFC&width={$item.width}&height={$item.height}&image={$wwwroot}/video/{$item.kep}" />
    </object>
</div>
*}

    {if !empty($item.html)}
    <div id="video_holder">
        {$item.html|stripslashes}
    </div>
    {else}
    <div id="video_holder">
        <div id="video_{$item.id}"></div>
    </div>

    <script type="text/javascript">
    var flashvars = {ldelim}
        file: "{if !empty($item.file_path)}{$item.file_path}{else}{$wwwroot}/video/{$item.file}{/if}",
        lightcolor: "0x557722",
        searchbar: "false",
        screencolor: "0x000000",
        width: "{$item.width}",
        height: "{$item.height}",
        image: "{if !empty($item.kep_path)}{$item.kep_path}{else}{$wwwroot}/video/{$item.kep}{/if}"
    {rdelim};
    var params = {ldelim}
        wmode: "transparent",
        allowfullscreen: "true",
        bgcolor: "#557722"
    {rdelim};
    var attributes = {ldelim}{rdelim};
    swfobject.embedSWF("{$wwwroot}/flash/mediaplayer.swf", "video_{$item.id}", "{$item.width}", "{$item.height}", "9.0.0", "js/expressInstall.swf", flashvars, params, attributes);
    swfobject.createCSS("#video_{$item.id}", "outline:none");
    </script>
    {/if}

{/if}

</body>
</html>

Zerion Mini Shell 1.0