[Q] Javascript callbacks and other stuff?
Posted: 14 Dec 2009 02:56
I am looking at the possibility of making an HTPC solution that would make use of a web container. The idea being that if we can limit the low level details to the experts, we can open up the UI to people who are more used to working with HTML, Javascript and other web technologies.
I put together a concept using Quicktime and Safari (I couldn't get it to work consistently with other browsers/plugins - notably the part of having HTML above the plug-in):
http://ajmas.dyndns.org/misc/web-htpc/video.html
Its far from perfect, but the hopefully it illustrates that the plug-in deals with general playback, while the HTML & Javascript elements provide the user interface for visualising the movie info and controls.
For me the basics functionality groups are: play control, video settings and audio settings. I would also imagine call backs, so that the current playing time, video length and so on can be displayed.
I good number of the functionality is there:
http://www.videolan.org/doc/play-howto/en/ch04.html
but there aren't any callbacks in the VLC plugin, which would be beneficial.
BTW If anyone can improve on my concept and make it work with the VLC plugin, that would also be cool.
I put together a concept using Quicktime and Safari (I couldn't get it to work consistently with other browsers/plugins - notably the part of having HTML above the plug-in):
http://ajmas.dyndns.org/misc/web-htpc/video.html
Its far from perfect, but the hopefully it illustrates that the plug-in deals with general playback, while the HTML & Javascript elements provide the user interface for visualising the movie info and controls.
For me the basics functionality groups are: play control, video settings and audio settings. I would also imagine call backs, so that the current playing time, video length and so on can be displayed.
I good number of the functionality is there:
http://www.videolan.org/doc/play-howto/en/ch04.html
but there aren't any callbacks in the VLC plugin, which would be beneficial.
BTW If anyone can improve on my concept and make it work with the VLC plugin, that would also be cool.