Erick Meza
i guess i need it to rearrange it inside doo_isset($play,'url'); first then compile it ?
if(!empty($players) && is_array($players)){
foreach($players as $play){
// Set Source
$source = doo_isset($play,'url');
// HTML Player
$html .="<div id='source-player-{$num}' class='source-box'>";
switch (doo_isset($play,'select')) {
case 'mp4':
$html .="<div class='pframe'><if"."rame class='metaframe rptss' src='{$play_pager}?source=".($source)."&id={$post}&type=mp4' frameborder='0' scrolling='no' allow='autoplay; encrypted-media' allowfullscreen></ifr"."ame></div>";
break;
case 'iframe':
$html .="<div class='pframe'><if"."rame class='metaframe rptss' id='playaa' src='{$source}' frameborder='0' scrolling='no' allow='autoplay; encrypted-media' allowfullscreen></ifr"."ame></div>";
break;
case 'dtshcode':
$html .= "<div class='pframe'>".do_shortcode($source)."</div>";
break;
}
$html .="</div>";
$num++;
}