<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Audio Player Not Functioning &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/audio-player-not-functioning/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/feed/</link>
		<description></description>
		<lastBuildDate>Tue, 04 Nov 2025 16:59:07 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-75505</guid>
					<title><![CDATA[Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-75505</link>
					<pubDate>Wed, 30 Jul 2014 18:58:31 +0000</pubDate>
					<dc:creator>Jason H</dc:creator>

					<description>
						<![CDATA[
						<p>I don&#8217;t know what happened, but when I migrated my site over to the new domain, the audio player stopped working ON PHONE ONLY.  I have the audio player hidden for everything except phone.  I know the links are correct and have tried to rebuild the box in VC, but no joy.</p>
<p>The site is <a href="http://therealcoolguy.com" rel="nofollow">HERE</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-75856</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-75856</link>
					<pubDate>Thu, 31 Jul 2014 07:37:42 +0000</pubDate>
					<dc:creator>Christian</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Jason,</p>
<p>You&#8217;re website is not available upon checking (see <a href="http://prntscr.com/4830tp" rel="nofollow">http://prntscr.com/4830tp</a>). Please check.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-76051</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-76051</link>
					<pubDate>Thu, 31 Jul 2014 17:19:40 +0000</pubDate>
					<dc:creator>Jason H</dc:creator>

					<description>
						<![CDATA[
						<p>My link was bad&#8230;updated.  Sorry 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-76590</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-76590</link>
					<pubDate>Fri, 01 Aug 2014 21:24:02 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Jason,</p>
<p>Getting this error and I think from coupontool.</p>
<p><code>Failed to load resource: the server responded with a status of 503 (Service Unavailable: Back-end server is at capacity)</code></p>
<p>You&#8217;re currently using X 2.1.0, please add this code at your child theme&#8217;s functions.php</p>
<pre><code>if ( ! function_exists( &#039;x_featured_audio&#039; ) ) :
  function x_featured_audio() {

    $entry_id = get_the_ID();
    $mp3      = get_post_meta( $entry_id, &#039;_x_audio_mp3&#039;, true );
    $ogg      = get_post_meta( $entry_id, &#039;_x_audio_ogg&#039;, true );
    $embed    = get_post_meta( $entry_id, &#039;_x_audio_embed&#039;, true );

    ?&gt;

    &lt;?php if ( $embed != &#039;&#039; ) { ?&gt;

      &lt;div class=&quot;x-responsive-audio-embed&quot;&gt;
        &lt;?php echo stripslashes( htmlspecialchars_decode( $embed ) ); ?&gt;
      &lt;/div&gt;

    &lt;?php } else { ?&gt;

      &lt;script&gt;
        jQuery(document).ready(function($){
          if($().jPlayer) {
            $(&#039;#x_jplayer_&lt;?php echo $entry_id; ?&gt;&#039;).jPlayer({
              ready: function () {
                $(this).jPlayer(&#039;setMedia&#039;, {
                  &lt;?php if ( $mp3 != &#039;&#039; ) : ?&gt;
                  mp3: &#039;&lt;?php echo $mp3; ?&gt;&#039;,
                  &lt;?php endif; ?&gt;
                  &lt;?php if ( $ogg != &#039;&#039; ) : ?&gt;
                  oga: &#039;&lt;?php echo $ogg; ?&gt;&#039;,
                  &lt;?php endif; ?&gt;
                  end: &#039;&#039;
                });
              },
              size: {
                width: &#039;100%&#039;,
                height: &#039;0&#039;
              },
              swfPath: &#039;&lt;?php echo get_template_directory_uri(); ?&gt;/framework/js/src/site/vendor/jplayer&#039;,
              cssSelectorAncestor: &#039;#jp_interface_&lt;?php echo $entry_id; ?&gt;&#039;,
              supplied: &#039;&lt;?php if( $mp3 != &quot;&quot; ) : ?&gt;mp3, &lt;?php endif; ?&gt;&lt;?php if ( $ogg != &quot;&quot; ) : ?&gt;oga,&lt;?php endif; ?&gt; all&#039;
            });
          }
        });
      &lt;/script&gt;

      &lt;div id=&quot;x_jplayer_&lt;?php echo $entry_id; ?&gt;&quot; class=&quot;jp-jplayer jp-jplayer-audio&quot;&gt;&lt;/div&gt;
      &lt;div class=&quot;jp-controls-container jp-controls-container-audio&quot;&gt;
        &lt;div id=&quot;jp_interface_&lt;?php echo $entry_id; ?&gt;&quot; class=&quot;jp-interface&quot;&gt;
          &lt;ul class=&quot;jp-controls&quot;&gt;
            &lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;jp-play&quot; tabindex=&quot;1&quot;&gt;&lt;span&gt;Play&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;jp-pause&quot; tabindex=&quot;1&quot;&gt;&lt;span&gt;Pause&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
          &lt;div class=&quot;jp-progress-container&quot;&gt;
            &lt;div class=&quot;jp-progress&quot;&gt;
              &lt;div class=&quot;jp-seek-bar&quot;&gt;
                &lt;div class=&quot;jp-play-bar&quot;&gt;&lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;?php } ?&gt;

  &lt;?php

  }
endif;

// Featured Video
// =============================================================================

if ( ! function_exists( &#039;x_featured_video&#039; ) ) :
  function x_featured_video( $post_type = &#039;video&#039; ) {

    $entry_id     = get_the_ID();
    $stack        = x_get_stack();
    $aspect_ratio = get_post_meta( $entry_id, &#039;_x_&#039; . $post_type . &#039;_aspect_ratio&#039;, true );
    $m4v          = get_post_meta( $entry_id, &#039;_x_&#039; . $post_type . &#039;_m4v&#039;, true );
    $ogv          = get_post_meta( $entry_id, &#039;_x_&#039; . $post_type . &#039;_ogv&#039;, true );
    $embed        = get_post_meta( $entry_id, &#039;_x_&#039; . $post_type . &#039;_embed&#039;, true );
    $fullwidth    = ( in_array( &#039;x-full-width-active&#039;, get_body_class() ) ) ? true : false;

    if ( $fullwidth ) {
      $poster = wp_get_attachment_image_src( get_post_thumbnail_id( $entry_id ), &#039;entry-&#039; . $stack . &#039;-fullwidth&#039;, false );
    } else {
      $poster = wp_get_attachment_image_src( get_post_thumbnail_id( $entry_id ), &#039;entry-&#039; . $stack, false );
    }

    switch ( $aspect_ratio ) {
      case &#039;16:9&#039; :
        $aspect_ratio_class = &#039;&#039;;
        break;
      case &#039;5:3&#039; :
        $aspect_ratio_class = &#039;five-by-three&#039;;
        break;
      case &#039;5:4&#039; :
        $aspect_ratio_class = &#039;five-by-four&#039;;
        break;
      case &#039;4:3&#039; :
        $aspect_ratio_class = &#039;four-by-three&#039;;
        break;
      case &#039;3:2&#039; :
        $aspect_ratio_class = &#039;three-by-two&#039;;
        break;
    }

    if ( $embed != &#039;&#039; ) {

    ?&gt;

      &lt;div class=&quot;x-responsive-video man&quot;&gt;
        &lt;div class=&quot;x-responsive-video-inner &lt;?php echo $aspect_ratio_class; ?&gt;&quot;&gt;
          &lt;?php echo stripslashes( htmlspecialchars_decode( $embed ) ); ?&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;?php } else { ?&gt;

      &lt;script&gt;
        jQuery(document).ready(function($){
          if($().jPlayer) {
            $(&#039;#x_jplayer_&lt;?php echo $entry_id; ?&gt;&#039;).jPlayer({
              ready: function () {
                $(this).jPlayer(&#039;setMedia&#039;, {
                  &lt;?php if ( $m4v != &#039;&#039; ) : ?&gt;
                  m4v: &#039;&lt;?php echo $m4v; ?&gt;&#039;,
                  &lt;?php endif; ?&gt;
                  &lt;?php if ( $ogv != &#039;&#039; ) : ?&gt;
                  ogv: &#039;&lt;?php echo $ogv; ?&gt;&#039;,
                  &lt;?php endif; ?&gt;
                  &lt;?php if ( $poster != &#039;&#039; ) : ?&gt;
                  poster: &#039;&lt;?php echo $poster[0]; ?&gt;&#039;
                  &lt;?php endif; ?&gt;
                });
              },
              size: {
                width: &#039;100%&#039;,
                height: &#039;100%&#039;
              },
              swfPath: &#039;&lt;?php echo get_template_directory_uri(); ?&gt;/framework/js/src/site/vendor/jplayer&#039;,
              cssSelectorAncestor: &#039;#jp_interface_&lt;?php echo $entry_id; ?&gt;&#039;,
              supplied: &#039;&lt;?php if( $m4v != &quot;&quot; ) : ?&gt;m4v, &lt;?php endif; ?&gt;&lt;?php if( $ogv != &quot;&quot; ) : ?&gt;ogv&lt;?php endif; ?&gt;&#039;
            });
            
            $(&#039;#x_jplayer_&lt;?php echo $entry_id; ?&gt;&#039;).bind($.jPlayer.event.playing, function(event) {
              $(this).add(&#039;#jp_interface_&lt;?php echo $entry_id; ?&gt;&#039;).hover( function() {
                $(&#039;#jp_interface_&lt;?php echo $entry_id; ?&gt;&#039;).stop().animate({ opacity: 1 }, 400);
              }, function() {
                $(&#039;#jp_interface_&lt;?php echo $entry_id; ?&gt;&#039;).stop().animate({ opacity: 0 }, 400);
              });
            });
            
            $(&#039;#x_jplayer_&lt;?php echo $entry_id; ?&gt;&#039;).bind($.jPlayer.event.pause, function(event) {
              $(&#039;#x_jplayer_&lt;?php echo $entry_id; ?&gt;&#039;).add(&#039;#jp_interface_&lt;?php echo $entry_id; ?&gt;&#039;).unbind(&#039;hover&#039;);
              $(&#039;#jp_interface_&lt;?php echo $entry_id; ?&gt;&#039;).stop().animate({ opacity: 1 }, 400);
            });
          }
        });
      &lt;/script&gt;

      &lt;div class=&quot;x-responsive-video man&quot;&gt;
        &lt;div class=&quot;x-responsive-video-inner &lt;?php echo $aspect_ratio_class; ?&gt;&quot;&gt;
          &lt;div id=&quot;x_jplayer_&lt;?php echo $entry_id; ?&gt;&quot; class=&quot;jp-jplayer jp-jplayer-video&quot;&gt;&lt;/div&gt;
          &lt;div class=&quot;jp-controls-container jp-controls-container-video&quot;&gt;
            &lt;div id=&quot;jp_interface_&lt;?php echo $entry_id; ?&gt;&quot; class=&quot;jp-interface&quot;&gt;
              &lt;ul class=&quot;jp-controls&quot;&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;jp-play&quot; tabindex=&quot;1&quot;&gt;&lt;span&gt;Play&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;jp-pause&quot; tabindex=&quot;1&quot;&gt;&lt;span&gt;Pause&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
              &lt;div class=&quot;jp-progress-container&quot;&gt;
                &lt;div class=&quot;jp-progress&quot;&gt;
                  &lt;div class=&quot;jp-seek-bar&quot;&gt;
                    &lt;div class=&quot;jp-play-bar&quot;&gt;&lt;/div&gt;
                  &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;?php

    }
  }
endif;

function x_shortcode_audio_player_v2( $atts ) { // 1
  extract( shortcode_atts( array(
    &#039;id&#039;     =&gt; &#039;&#039;,
    &#039;class&#039;  =&gt; &#039;&#039;,
    &#039;style&#039;  =&gt; &#039;&#039;,
    &#039;mp3&#039;    =&gt; &#039;&#039;,
    &#039;oga&#039;    =&gt; &#039;&#039;
  ), $atts ) );

  $id     = ( $id    != &#039;&#039; ) ? &#039;id=&quot;&#039; . esc_attr( $id ) . &#039;&quot;&#039; : &#039;&#039;;
  $class  = ( $class != &#039;&#039; ) ? &#039;x-audio player &#039; . esc_attr( $class ) : &#039;x-audio player&#039;;
  $style  = ( $style != &#039;&#039; ) ? &#039;style=&quot;&#039; . $style . &#039;&quot;&#039; : &#039;&#039;;
  $mp3    = ( $mp3   != &#039;&#039; ) ? $mp3 : &#039;&#039;;
  $oga    = ( $oga   != &#039;&#039; ) ? $oga : &#039;&#039;;

  static $count = 0; $count++;

  $output = &#039;&lt;script&gt;&#039;
            . &#039;jQuery(document).ready(function($){&#039;
              . &#039;if($().jPlayer) {&#039;
                . &quot;$(&#039;#x_jplayer_audio_embed_shortcode_{$count}&#039;).jPlayer({&quot;
                  . &#039;ready: function () {&#039;
                    . &quot;$(this).jPlayer(&#039;setMedia&#039;, {&quot;
                      . ( ( $mp3 != &#039;&#039; ) ? &quot;mp3: &#039;{$mp3}&#039;,&quot; : &#039;&#039; )
                      . ( ( $oga != &#039;&#039; ) ? &quot;oga: &#039;{$oga}&#039;,&quot; : &#039;&#039; )
                    . &#039;});&#039;
                  . &#039;},&#039;
                  . &#039;size: {&#039;
                    . &quot;width: &#039;100%&#039;,&quot;
                    . &quot;height: &#039;100%&#039;&quot;
                  . &#039;},&#039;
                  . &quot;swfPath: &#039;&quot; . get_template_directory_uri() . &quot;/framework/js/src/site/vendor/jplayer&#039;,&quot;
                  . &quot;cssSelectorAncestor: &#039;#jp_interface_audio_embed_shortcode_{$count}&#039;,&quot;
                  . &quot;supplied: &#039;&quot; . ( ( $mp3 != &#039;&#039; ) ? &#039;mp3&#039; : &#039;&#039; ) . ( ( $oga != &#039;&#039; ) ? &#039; oga&#039; : &#039;&#039; ) . &quot;&#039;&quot;
                . &#039;});&#039;
              . &#039;}&#039;
            . &#039;});&#039;
          . &#039;&lt;/script&gt;&#039;

          . &quot;&lt;div {$id} class=\&quot;{$class}\&quot; {$style}&gt;&quot;
            . &quot;&lt;div id=\&quot;x_jplayer_audio_embed_shortcode_{$count}\&quot; class=\&quot;jp-jplayer jp-jplayer-audio\&quot;&gt;&lt;/div&gt;&quot;
            . &quot;&lt;div class=\&quot;jp-controls-container jp-controls-container-audio\&quot;&gt;&quot;
              . &quot;&lt;div id=\&quot;jp_interface_audio_embed_shortcode_{$count}\&quot; class=\&quot;jp-interface\&quot;&gt;&quot;
                . &#039;&lt;ul class=&quot;jp-controls&quot;&gt;&#039;
                  . &#039;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;jp-play&quot; tabindex=&quot;1&quot;&gt;&lt;span&gt;Play&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&#039;
                  . &#039;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;jp-pause&quot; tabindex=&quot;1&quot;&gt;&lt;span&gt;Pause&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&#039;
                . &#039;&lt;/ul&gt;&#039;
                . &#039;&lt;div class=&quot;jp-progress-container&quot;&gt;&#039;
                  . &#039;&lt;div class=&quot;jp-progress&quot;&gt;&#039;
                    . &#039;&lt;div class=&quot;jp-seek-bar&quot;&gt;&#039;
                      . &#039;&lt;div class=&quot;jp-play-bar&quot;&gt;&lt;/div&gt;&#039;
                    . &#039;&lt;/div&gt;&#039;
                  . &#039;&lt;/div&gt;&#039;
                . &#039;&lt;/div&gt;&#039;
              . &#039;&lt;/div&gt;&#039;
            . &#039;&lt;/div&gt;&#039;
          . &#039;&lt;/div&gt;&#039;;
  
  return $output;
}

function x_shortcode_responsive_video_player_v2( $atts ) { // 1
  extract( shortcode_atts( array(
    &#039;id&#039;            =&gt; &#039;&#039;,
    &#039;class&#039;         =&gt; &#039;&#039;,
    &#039;style&#039;         =&gt; &#039;&#039;,
    &#039;type&#039;          =&gt; &#039;&#039;,
    &#039;m4v&#039;           =&gt; &#039;&#039;,
    &#039;ogv&#039;           =&gt; &#039;&#039;,
    &#039;poster&#039;        =&gt; &#039;&#039;,
    &#039;hide_controls&#039; =&gt; &#039;&#039;,
    &#039;autoplay&#039;      =&gt; &#039;&#039;,
    &#039;no_container&#039;  =&gt; &#039;&#039;
  ), $atts ) );

  $id    = ( $id    != &#039;&#039; ) ? &#039;id=&quot;&#039; . esc_attr( $id ) . &#039;&quot;&#039; : &#039;&#039;;
  $class = ( $class != &#039;&#039; ) ? &#039;x-responsive-video x-responsive-video-shortcode player &#039; . esc_attr( $class ) : &#039;x-responsive-video x-responsive-video-shortcode player&#039;;
  $style = ( $style != &#039;&#039; ) ? &#039;style=&quot;&#039; . $style . &#039;&quot;&#039; : &#039;&#039;;
  switch ( $type ) {
    case &#039;5:3&#039; :
      $type = &#039; five-by-three&#039;;
      break;
    case &#039;5:4&#039; :
      $type = &#039; five-by-four&#039;;
      break;
    case &#039;4:3&#039; :
      $type = &#039; four-by-three&#039;;
      break;
    case &#039;3:2&#039; :
      $type = &#039; three-by-two&#039;;
      break;
    default :
      $type = &#039;&#039;;
  }
  $m4v           = ( $m4v           != &#039;&#039;     ) ? $m4v : &#039;&#039;;
  $ogv           = ( $ogv           != &#039;&#039;     ) ? $ogv : &#039;&#039;;
  $poster        = ( $poster        != &#039;&#039;     ) ? $poster : &#039;&#039;;
  $hide_controls = ( $hide_controls == &#039;true&#039; ) ? $hide_controls : &#039;&#039;;
  $autoplay      = ( $autoplay      == &#039;true&#039; ) ? &#039;.jPlayer(&quot;play&quot;)&#039; : &#039;&#039;;
  $no_container  = ( $no_container  == &#039;true&#039; ) ? &#039;&#039; : &#039; with-container&#039;;

  static $count = 0; $count++;

  if ( is_numeric( $poster ) ) {
    $poster_info = wp_get_attachment_image_src( $poster, &#039;full&#039; );
    $poster      = $poster_info[0];
  }

  if ( $hide_controls == &#039;true&#039; ) {
    $controls = &#039;&#039;;
  } else {
    $controls = &#039;&lt;div class=&quot;jp-controls-container jp-controls-container-video&quot;&gt;&#039;
                . &quot;&lt;div id=\&quot;jp_interface_video_embed_shortcode_{$count}\&quot; class=\&quot;jp-interface\&quot;&gt;&quot;
                  . &#039;&lt;ul class=&quot;jp-controls&quot;&gt;&#039;
                    . &#039;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;jp-play&quot; tabindex=&quot;1&quot; title=&quot;Play&quot;&gt;&lt;span&gt;Play&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&#039;
                    . &#039;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;jp-pause&quot; tabindex=&quot;1&quot; title=&quot;Pause&quot;&gt;&lt;span&gt;Pause&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&#039;
                  . &#039;&lt;/ul&gt;&#039;
                  . &#039;&lt;div class=&quot;jp-progress-container&quot;&gt;&#039;
                    . &#039;&lt;div class=&quot;jp-progress&quot;&gt;&#039;
                      . &#039;&lt;div class=&quot;jp-seek-bar&quot;&gt;&#039;
                        . &#039;&lt;div class=&quot;jp-play-bar&quot;&gt;&lt;/div&gt;&#039;
                      . &#039;&lt;/div&gt;&#039;
                    . &#039;&lt;/div&gt;&#039;
                  . &#039;&lt;/div&gt;&#039;
                . &#039;&lt;/div&gt;&#039;
              . &#039;&lt;/div&gt;&#039;;
  }

  $output = &#039;&lt;script&gt;&#039;
            . &#039;jQuery(document).ready(function($){&#039;
              . &#039;if($().jPlayer) {&#039;
                . &quot;$(&#039;#x_jplayer_video_embed_shortcode_{$count}&#039;).jPlayer({&quot;
                  . &#039;ready: function () {&#039;
                    . &quot;$(this).jPlayer(&#039;setMedia&#039;, {&quot;
                      . ( ( $m4v    != &#039;&#039; ) ? &quot;m4v: &#039;{$m4v}&#039;,&quot; : &#039;&#039; )
                      . ( ( $ogv    != &#039;&#039; ) ? &quot;ogv: &#039;{$ogv}&#039;,&quot; : &#039;&#039; )
                      . ( ( $poster != &#039;&#039; ) ? &quot;poster: &#039;{$poster}&#039;&quot; : &#039;&#039; )
                    . &#039;})&#039; . ( ( $autoplay != &#039;&#039; ) ? $autoplay : &#039;&#039; ) . &#039;;&#039;
                  . &#039;},&#039;
                  . &#039;size: {&#039;
                    . &quot;width: &#039;100%&#039;,&quot;
                    . &quot;height: &#039;100%&#039;&quot;
                  . &#039;},&#039;
                  . &quot;swfPath: &#039;&quot; . get_template_directory_uri() . &quot;/framework/js/src/site/vendor/jplayer&#039;,&quot;
                  . &quot;cssSelectorAncestor: &#039;#jp_interface_video_embed_shortcode_{$count}&#039;,&quot;
                  . &quot;supplied: &#039;&quot; . ( ( $m4v != &#039;&#039; ) ? &#039;m4v&#039; : &#039;&#039; ) . ( ( $ogv != &#039;&#039; ) ? &#039; ogv&#039; : &#039;&#039; ) . &quot;&#039;&quot;
                . &#039;});&#039;
                  
                . &quot;$(&#039;#x_jplayer_video_embed_shortcode_{$count}&#039;).bind($.jPlayer.event.playing, function(event) {&quot;
                  . &quot;$(this).add(&#039;#jp_interface_video_embed_shortcode_{$count}&#039;).hover( function() {&quot;
                    . &quot;$(&#039;#jp_interface_video_embed_shortcode_{$count}&#039;).stop().animate({ opacity: 1 }, 400);&quot;
                  . &quot;}, function() {&quot;
                    . &quot;$(&#039;#jp_interface_video_embed_shortcode_{$count}&#039;).stop().animate({ opacity: 0 }, 400);&quot;
                  . &#039;});&#039;
                . &#039;});&#039;
                  
                . &quot;$(&#039;#x_jplayer_video_embed_shortcode_{$count}&#039;).bind($.jPlayer.event.pause, function(event) {&quot;
                  . &quot;$(&#039;#x_jplayer_video_embed_shortcode_{$count}&#039;).add(&#039;#jp_interface_video_embed_shortcode_{$count}&#039;).unbind(&#039;hover&#039;);&quot;
                  . &quot;$(&#039;#jp_interface_video_embed_shortcode_{$count}&#039;).stop().animate({ opacity: 1 }, 400);&quot;
                . &#039;});&#039;
              . &#039;}&#039;
            . &#039;});&#039;
          . &#039;&lt;/script&gt;&#039;

          . &quot;&lt;div {$id} class=\&quot;{$class}{$type}{$no_container}\&quot; {$style}&gt;&quot;
            . &#039;&lt;div class=&quot;x-responsive-video-inner&quot;&gt;&#039;
              . &quot;&lt;div id=\&quot;x_jplayer_video_embed_shortcode_{$count}\&quot; class=\&quot;jp-jplayer jp-jplayer-video\&quot;&gt;&lt;/div&gt;&quot;
              . $controls
            . &#039;&lt;/div&gt;&#039;
          . &#039;&lt;/div&gt;&#039;;
  
  return $output;
}

add_action(&#039;wp_head&#039;, function() {

remove_shortcode( &#039;x_audio_player&#039; );
remove_shortcode( &#039;x_video_player&#039; );

add_shortcode( &#039;x_audio_player&#039;, &#039;x_shortcode_audio_player_v2&#039; );
add_shortcode( &#039;x_video_player&#039;, &#039;x_shortcode_responsive_video_player_v2&#039; );

});
</code></pre>
<p>After applying this, please clear your plugins cache or disable it temporarily.</p>
<p>Hope this helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-77797</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-77797</link>
					<pubDate>Mon, 04 Aug 2014 22:38:58 +0000</pubDate>
					<dc:creator>Jason H</dc:creator>

					<description>
						<![CDATA[
						<p>Unfortunately that didn&#8217;t do anything.  I updated to the current version as well, still no change.</p>
<p>Thoughts?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-78095</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-78095</link>
					<pubDate>Tue, 05 Aug 2014 12:51:11 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Jason,</p>
<p>Thank you for writing in!</p>
<p>There seems to be a JavaScript conflict. You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it&#8217;s fixed, you&#8217;ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.</p>
<p>Let us know how it goes.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-78528</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-78528</link>
					<pubDate>Tue, 05 Aug 2014 21:52:30 +0000</pubDate>
					<dc:creator>Jason H</dc:creator>

					<description>
						<![CDATA[
						<p>Still a no go.  I disabled all plugins, cleared all caches and it didn&#8217;t work.  Plays fine on desktop.  Works fine on iPad and iPhone (but only the instances of the player that are not in a visibility box).  Just won&#8217;t play on my android phone (chrome or stock browser) or Nexus 7 (chrome is the stock browser).  </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-78787</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-78787</link>
					<pubDate>Wed, 06 Aug 2014 13:13:45 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Jason,</p>
<p>Upon checking thoroughly, the audio players are working on mobile which are visible on desktop. I have created a screencast for you while testing the players on desktop (smaller screen): <a href="http://screencast.com/t/gw2JnPZf" rel="nofollow">http://screencast.com/t/gw2JnPZf</a> and on mobiles I have taken a screenshot of the audio player working: <a href="http://prntscr.com/4a3xy2" rel="nofollow">http://prntscr.com/4a3xy2</a></p>
<p>The audio file you are inserting in mobile only visible shortcode is probably not working. You could try re-uploading the audio files for mobiles or testing on a different page.</p>
<p>Cheers!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-79043</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-79043</link>
					<pubDate>Wed, 06 Aug 2014 19:38:28 +0000</pubDate>
					<dc:creator>Jason H</dc:creator>

					<description>
						<![CDATA[
						<p>Yes, as I mentioned in the other post, it ONLY doesn&#8217;t load in Android (both my tablet and phone).  Works in iOS just fine.  It looked like you were on an iPhone, so that would work.  Just doesn&#8217;t load the player in Android.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-79127</guid>
					<title><![CDATA[Reply To: Audio Player Not Functioning]]></title>
					<link>https://theme.co/archive/forums/topic/audio-player-not-functioning/#post-79127</link>
					<pubDate>Wed, 06 Aug 2014 20:35:06 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Jason,</p>
<p>May I know more about your android phone? What unit or screen specs.</p>
<p>Nexus 7 has 1920×1200 resolution in which considered as desktop resolution too.</p>
<p>Visibility is based on screen resolution. 1024px and above are desktop&#8217;s screen resolution and X does not have device detection feature.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

