Hi thanks for the quick reply, no Im developing a theme and the player is added in directly in theme so everything is working fine.
my code is this one
<?php
$src = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
$video = urlencode($video);
$video = get_post_meta($post->ID,'awpt_videourl', true);
$sefurL = get_bloginfo('template_url', true);
if(get_option('awpt_jwkey')){$key = get_option('awpt_jwkey');}else{$key = '7lTPCF2LvWYLPfF2COF0CAmrW8vMnodJ4P7OEg';}
$logoimage = stripslashes(get_option('awpt_jwlogo'));
$logolink = stripslashes(get_option('awpt_jwlink')); $skin = stripslashes(get_option('awpt_jwskin'));?>
<script type="text/javascript" src="<?php echo $sefurL; ?>/jwplayer/jw/jwplayer.js" ></script>
<script type="text/javascript">jwplayer.key="<?php echo $key; ?>";</script>
<div id="ply">
<script type="text/javascript">
var jw = jwplayer("ply").setup({
file: '<?php echo $video; ?>',
image:"<?php echo $src; ?>",
flashplayer: "<?php echo $sefurL; ?>/jwplayer/jw/jwplayer.flash.swf",
width: "100%",
aspectratio: "4:3",
startparam: "start",
autostart: false,
primary: 'html5',
logo: {
file: '<?php echo $logoimage; ?>',
link: '<?php echo $logolink; ?>',
position: "right-bottom",
},
skin : {
url:"<?php echo $sefurL; ?>/jwplayer/jw/skins/<?php echo $skin; ?>.css",
name:"<?php echo $skin; ?>"
},
related: {
file: "https://localhost/archives/category/action/?feed=related-feed"
}
});
</script>
</div>
I dont have a live link because Im testing localy but what I need is only the right feed because the jwplayer code is right, as I said when I put https://content.jwplatform.com/related/C4lp6Dtd.xml its ok but I was looking something to generate the xml wich grabs the wordpress posts and I found your plugin but I dont know what Im doing wrong. There is no feed file generated for my categories.