I'm trying to do a internet radio player using flash player.
The code is something like this
Code: Select all
<html>
<head>
<script type="text/javascript" src="http://enlaradio.com.ar/shared/player/v5v6/jwplayer.js"></script>
</head>
<body>
<div id="titulo">Radio Capi</div>
<div id="mediaplayer"></div>
<script type='text/javascript'>
jwplayer('mediaplayer').setup({
flashplayer: "http://enlaradio.com.ar/shared/player/v5v6/player.swf",
id: "mediaID",
file: "http://78.129.232.162:31125/;.mp3",
streamer: "",
image: "",
controlbar: "bottom",
width: "478",
height: "80",
autostart: "true",
modes: [ {type: 'flash', src: 'http://enlaradio.com.ar/shared/player/v5v6/player.swf'},
{type: 'html5'},{type: 'download'}
]
});
</script>
</body>
</html>
(if i use BrowserLoadFromStr action and paste it, does not work, if BrowserGoto, works fine... )
My idea is change on demand the parameters "file" and "streamer" of the player.
I do the following:
Code: Select all
BrowserExecScript "NavegadorWeb1" "mediaplayer.file='live';|mediaplayer.streamer='rtmp://radio10.stweb.tv:1935/radio10';" "JScript"
Any ideas how to change this parameters ?
Thanks in advance,
David de Argentina