Hi guy's, i have been developing DJ software for a while now. The latest incarnation streams live using OGG to an icecast server. I have managed to hash together a Flash vorbis web player http://www.digitalselecta.com/eminentlive/link.html or http://www.digitalselecta.com/eminentlive. The Player is a flash SWF controlled by Javascript. I have no idea how javascript works but i managed to get it going. I would like to add volume control. The original example had volume control but it was a rotary knob that didnt work very well. I couldn't modify it so i just didn't display it on the page. The functions are still in the html. I am looking for simple slider style volume control. Can anyone help?
Thanks
Andy.
Any Javascript guru's willing to help me?
Re: Any Javascript guru's willing to help me?
I don't javascript is the way to go if you want a slider. I'd go for XHTML or Ajax.
Have you thought about doing the controls in Java?
I might help there.
Have you thought about doing the controls in Java?
I might help there.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Re: Any Javascript guru's willing to help me?
C provides the infinitely-abusable goto statement, and labels to branch to. Formally, the goto is never necessary, and in practice it is almost always easy to write code without it. We have not used goto in this book. -- K&R (2nd Ed.) : Page 65
- the.weavster
- Addict

- Posts: 1583
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Any Javascript guru's willing to help me?
There's a very nice LGPL library and visual designer for JS UIs here: http://www.sigmawidgets.com/products/si ... ilder.html
You can visually design your page and then click 'Save' and download the JS/HTML as a zip file.
I've just started experimenting with the library and I like it a lot, it feels much more like programming for the desktop than making a web page. You barely need to bother with HTML/CSS at all, you can just do everything with JavaScript which I quite like now I'm starting to get a feel for it.
e.g: (warning - I've been using the library for < 2 hours so this is not the work of a guru!)Having done it this way it seems my HTML only needs to be HEAD, BODY, SCRIPT and nothing more 
You can visually design your page and then click 'Save' and download the JS/HTML as a zip file.
I've just started experimenting with the library and I like it a lot, it feels much more like programming for the desktop than making a web page. You barely need to bother with HTML/CSS at all, you can just do everything with JavaScript which I quite like now I'm starting to get a feel for it.
e.g: (warning - I've been using the library for < 2 hours so this is not the work of a guru!)
Code: Select all
linb.UI.setTheme('vista');
var host=this
var btn=new linb.UI.Button();
btn.setHost(host,"btn")
btn.setCaption("Click Me")
btn.setLeft(10)
btn.setTop(10)
btn.setShadow(true)
btn.setHeight(25)
btn.setWidth(100)
// btn.onClick(function(){... do whatever ...})
btn.show()
var blkGrid=new linb.UI.Block({width:320,height:250,top:40,left:10});
blkGrid.setShadow(true)
blkGrid.show()
var grid=new linb.UI.TreeGrid();
grid.setHost(host,"grid")
grid.setRowNumbered(true)
grid.setHeader(['col 1','col 2','col 3'])
grid.setRows([['a1','a2','a3'],['b1','b2','b3']])
grid.show(blkGrid)
Re: Any Javascript guru's willing to help me?
Thanks Guy's ill check your suggestions out 
Re: Any Javascript guru's willing to help me?
I'm a girl!AndyMK wrote:Thanks Guy's ill check your suggestions out
C provides the infinitely-abusable goto statement, and labels to branch to. Formally, the goto is never necessary, and in practice it is almost always easy to write code without it. We have not used goto in this book. -- K&R (2nd Ed.) : Page 65
Re: Any Javascript guru's willing to help me?
Have you thought about going for HTML5?
Lots of cool stuff you can do with that. And it looks pretty easy too.
Lots of cool stuff you can do with that. And it looks pretty easy too.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Re: Any Javascript guru's willing to help me?
@Blood, Sorry
HTML5 is still in its early stages
i tried streaming ogg with google chrome but no joy
HTML5 is still in its early stages
Re: Any Javascript guru's willing to help me?
Umm, Ajax is javascript.I don't javascript is the way to go if you want a slider. I'd go for XHTML or Ajax.

