Pages with playlist player don’t load properly.
-
Hi folks,
I’m having some trouble with the PowerPress plugin, I’ve got a homepage with a playlist shortcode on it. When I refresh the site that page loads great. I can then click on my navigation to move to other pages. However, the ‘podcasts’ page, which has another playlist shortcode on it refuses to load.
In chrome developer tools, the error message is ‘VM15928:2 Uncaught SyntaxError: Unexpected token <(…)’ Referring to the first line of the code below.
<# if ( data.poster ) { #> <img src="{{ data.poster.src }}" /> <# } #> <div class="wp-playlist-caption"> <# if ( data.meta.program_title ) { #> <span class="wp-playlist-item-meta wp-playlist-item-title">{{ data.meta.program_title }}</span> <# } #> <# if ( data.meta.link ) { #> <span class="wp-playlist-item-meta wp-playlist-item-title"><a href="{{ data.meta.link }}" rel="nofollow">{{ data.title }}</a></span> <# } else { #> <span class="wp-playlist-item-meta wp-playlist-item-title">{{ data.title }}</span> <# } #> <# if ( data.meta.date ) { #><span class="wp-playlist-item-meta wp-playlist-item-artist">{{ data.meta.date }}</span><# } #> <# if ( data.meta.itunes_subtitle ) { #><span class="wp-playlist-item-meta wp-playlist-item-album">{{ data.meta.itunes_subtitle }}</span><# } #> </div>
Pages will load individually and when I refresh them, but will not when moving between pages.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Pages with playlist player don’t load properly.’ is closed to new replies.