Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Content Query Web Part - show audio controls from embedded CEWP

$
0
0

Hello everyone,

I've been trying around as much as I can, but I cannot find an answer to my problem:
On our SP 2013 Server we use custom page layouts containing an HTML-Column (Content) and a Content Query Web Part on a higher level site, to display news.

We now have a Scenario where we'ld like to display a little HTML audio control like the following:

<audio controls><source src="horse.ogg" type="audio/ogg"></audio>


I've added a Content Editor Web Part to the HTML Content field on the page, which refers to a file containing the above code.
While being on the News page itself, it shows me the audio control without an issue. When I switch to the site on a higher Level however (where the CQWP is) it only shows me the text and leaves the position where the audio control should be - blank.

I render the html content column as follows using a custom ItemStyle.xsl

<div class="description"><xsl:value-of select="@PublishingPageContent" /></div>

Do have any idea?

Kind regards

André


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>