<?php
// Code php

// Json
$json = array(
    
'style' => '
        #brooser-preview .object {
            width:200px;
            margin:1em auto;
        }
    '
,
    
'script' => '',
    
'content' => '<div class="object">
            <object
            type="video/quicktime"
            data="'
.$htmlpath.'"
            width="200"
            height="160"
            >
                <param name="src" value="'
.$htmlpath.'" />
                <param name="autoplay" value="false">
                <param name="controller" value="true">
                <param name="loop" value="false">
                <param name="scale" value="aspect">
                <p>The movie require the <a href="http://www.apple.com/quicktime/download/">Quicktime plugin</a></p>
            </object>
        </div>'
);
?>