PHP Classes

File: elements/podcast_player.php

Recommend this page to a friend!
  Classes of Victor Andeloci   Project P Wordpress Podcast Theme   elements/podcast_player.php   Download  
File: elements/podcast_player.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Project P Wordpress Podcast Theme
Publish pages for a podcast in a WordPress site
Author: By
Last change:
Date: 11 months ago
Size: 212 bytes
 

Contents

Class file image Download
<?php
  $mp3Url
= trim(get_post_meta(get_the_ID(), 'episode_mp3_url', true));
  if (!empty(
$mp3Url)) :
?>
<audio controls preload="none" id="player">
    <source src="<?= $mp3Url ?>">
  </audio>
<?php endif; ?>