Topic: <script> and JW Media Player in a Blog Post

I am trying to embed my JW Media Player in a Blog Post and it seems to be giving me problems, i don't think the <script> tag is supported? Is the <script> tag supported? i'm currently using About UTF-8 CuteNews any help would be appreciated.

here my full code:

<script type='text/javascript' src='http://www.theslyshow.com/jwplayer/jwplayer.js'></script>
<div id='player_preview' style='float:left;'> 
   id='android_firefox' style='display:none;'> Watch this stream over RTSP for Android Mozilla</a>
</div> 
<script type='text/javascript'> 
  if (navigator.userAgent.match(/Android/i) && navigator.userAgent.match(/Firefox/i) ) 
   { document.getElementById('android_firefox').style.display = ''; 
     document.getElementById('video_tag').style.display = 'none'; 
   } 
  jwplayer('player_preview').setup({ 
    playlist: [{ 
      sources: [ 
       {file:'http://sc1.empirestreaming.com:8046/;stream.mp3',}, 
      ] 
    }], 
    height: 28, 
    width: 661, 
    fallback: false, 
    repeat: true, 
    autostart: true 
  }); 
</script>

Re: <script> and JW Media Player in a Blog Post

I am trying to embed my JW Media Player in a Blog Post and it seems to be giving me problems, i don't think the <script> tag is supported? Is the <script> tag supported? i'm currently using About UTF-8 CuteNews any help would be appreciated.

here my full code:

<script type='text/javascript' src='http://www.theslyshow.com/jwplayer/jwplayer.js'></script>
<div id='player_preview' style='float:left;'> 
   id='android_firefox' style='display:none;'> Watch this stream over RTSP for Android Mozilla</a>
</div> 
<script type='text/javascript'> 
  if (navigator.userAgent.match(/Android/i) && navigator.userAgent.match(/Firefox/i) ) 
   { document.getElementById('android_firefox').style.display = ''; 
     document.getElementById('video_tag').style.display = 'none'; 
   } 
  jwplayer('player_preview').setup({ 
    playlist: [{ 
      sources: [ 
       {file:'http://sc1.empirestreaming.com:8046/;stream.mp3',}, 
      ] 
    }], 
    height: 28, 
    width: 661, 
    fallback: false, 
    repeat: true, 
    autostart: true 
  }); 
</script>

For security reasons, the <script> tag was disabled in CuteNews when adding/editing news. The <script> tag is allowed when editing templates that can be accessed only by the website administrator. You can take the whole code beyond the blog post if the initialization #player_preview is set e.g. at the end, there's only html-code is used in the post, and the jwplayer.js connection script is taken to the <HEAD> section.

Best regards,
CN Support team