Esempio n. 1
0
            audioFullScreen: true,
            smoothPlayBar: true,
            keyEnabled: true,
            solution: "<?php 
$solutions = array();
if (AmpConfig::get('webplayer_html5')) {
    $solutions[] = 'html';
}
if (AmpConfig::get('webplayer_flash')) {
    $solutions[] = 'flash';
}
if (AmpConfig::get('webplayer_aurora')) {
    $solutions[] = 'aurora';
}
echo implode(',', $solutions);
$supplied = WebPlayer::get_supplied_types($playlist);
?>
",
            nativeSupport:true,
            oggSupport: false,
            supplied: "<?php 
echo implode(", ", $supplied);
?>
",
            volume: jp_volume,
<?php 
if (AmpConfig::get('webplayer_aurora')) {
    ?>
            auroraFormats: 'flac, m4a, mp3, oga, wav',
<?php 
}
            keyEnabled: true,
            solution: "<?php 
$solutions = array();
if (AmpConfig::get('webplayer_html5')) {
    $solutions[] = 'html';
}
if (AmpConfig::get('webplayer_flash')) {
    $solutions[] = 'flash';
}
echo implode(',', $solutions);
?>
",
            nativeSupport:true,
            oggSupport: false,
            supplied: "<?php 
echo implode(", ", WebPlayer::get_supplied_types($playlist));
?>
",
            volume: jp_volume,
<?php 
if (!$is_share) {
    ?>
            size: {
<?php 
    if ($isVideo) {
        if ($iframed) {
            ?>
                width: "142px",
                height: "80px",
<?php 
        } else {