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>