?>

<?php 
if (have_posts()) {
    ?>

  <script>
    videojs.options.flash.swf = "/video-js/video-js.swf";
  </script>
<div class="container play-video" id="fnBody">
                <div class="content" id="fnBodyContent">
				                    <div class="content-items">

                    <div class="jp-player-video">
<?php 
    echo players2($url, $sub);
    ?>
</div>
			
		<?php 
    wp_link_pages();
    ?>
		<?php 
}
?>
	
	</div>
<div class="content-items clear_fix img" style="padding: 10px 0;border-top: 1px solid #e5e5e5;border-bottom:none;margin-top:10px">                        <a class="read-more fn-expand" style="border-bottom: 1px solid #e5e5e5;">Nội dung video</a>

<?php 
if (have_posts()) {
Exemple #2
0
function getlinkphimmobile($idphim, $idtap, $sv = '')
{
    global $wpdb, $idtap;
    $episode_url = get_bloginfo('url') . "/player-" . $idtap . "/";
    if (!$sv) {
        $fivesdrafts = $wpdb->get_row("SELECT episode_id, episode_name, episode_type, episode_url\n\tFROM wp_film_episode\n\tWHERE episode_film = '" . $idphim . "' AND episode_id='" . $idtap . "'");
        if ($fivesdrafts) {
            $sub = $fivesdrafts->episode_sub;
            $player = players2($fivesdrafts->episode_url, $sub);
        }
    }
    return $player;
}