Main > Software Forum
HTML5 FrontEnd
arximidis:
I did a sneaky trick and now version 3 includes sound effects, without crashes (at least I don't have the crashes I had before)
--- Quote from: Le Chuck on March 28, 2014, 09:08:36 am ---
The intro video is a great option but how about playing an intro sound and showing an intro animated gif or static image set to play the legnth of that sound?
--- End quote ---
Things like that is very easy to implement due to the fact that you are dealing with a html/css/javascript FE. I beleive this is the power of HTMLFrontEnd, but it requires programming knowledge. I will leave this for a future release
--- Quote from: Le Chuck on March 28, 2014, 09:08:36 am ---If/while you're working on sound issues having the background sound repeat automatically would be good.
--- End quote ---
Why??? It's not playing repeatedly??
--- Quote from: Le Chuck on March 28, 2014, 09:08:36 am ---Combine that with a setting to slowly rotate the carousel after one minute of no user input and you have an instant screen saver.
--- End quote ---
That is a nice idea!!! I already have a rolling effect when you press ESC
--- Quote from: Le Chuck on March 28, 2014, 09:08:36 am ---Also, if you're setting up the sound to change for each emulator I'd recommend to have an option to leave the background sound on. Then one could do music for the background and then maybe game sounds or even movie quotes as applicable for the games. Might be interesting - might sound terrible.
--- End quote ---
You will be able to play the same sound effect when selecting an emulator or a different. The background music is not stopping
--- Quote from: Le Chuck on March 28, 2014, 09:08:36 am ---Last thing is joystick use - I haven't tried using a joystick (windows HID) to control the FE yet, if it's implemented already I'll give it a shot. I think it is but haven't toyed with it yet. If not something to think about.
--- End quote ---
I don't think it's working with joystic. It supports mouse and keyboard. Maybe you can do something with joytomouse: http://atzitznet.no-ip.org/Joy2Mouse3/
However I found a javascript library that enables the use of gamepads and joysticks. Maybe it's not working with qt webkit. Never test it because I don't have a joystick or a gamepad
http://www.gamepadjs.com/
Le Chuck:
--- Quote from: arximidis on March 28, 2014, 01:51:42 pm ---I did a sneaky trick and now version 3 includes sound effects, without crashes (at least I don't have the crashes I had before)
--- End quote ---
Ready for download?!!?!! (Now that I have a version I can't get to work for unknown reasons I'm totally itching to try the new version in hopes that I'm back on track)
--- Quote ---
--- Quote from: Le Chuck on March 28, 2014, 09:08:36 am ---If/while you're working on sound issues having the background sound repeat automatically would be good.
--- End quote ---
Why??? It's not playing repeatedly??
--- End quote ---
Nope :dunno Stops after a single play - all versions have thus far. Thought you designed it like that since it didn't ever not do it.
--- Quote ---
--- Quote from: Le Chuck on March 28, 2014, 09:08:36 am ---Last thing is joystick use - I haven't tried using a joystick (windows HID) to control the FE yet, if it's implemented already I'll give it a shot. I think it is but haven't toyed with it yet. If not something to think about.
--- End quote ---
I don't think it's working with joystic. It supports mouse and keyboard. Maybe you can do something with joytomouse: http://atzitznet.no-ip.org/Joy2Mouse3/
However I found a javascript library that enables the use of gamepads and joysticks. Maybe it's not working with qt webkit. Never test it because I don't have a joystick or a gamepad
http://www.gamepadjs.com/
--- End quote ---
I can test it, I have tons of interfaces I can try it out with. Joy to mouse will work but if that's the solution then you need to implement the ability to run a program or batch file before and after you run the target emulator. EG when you launch Zsnes the FE first sends command to kill joytokey then when you exit Zsnes FE sends execute joytokey. Otherwise users will have to rely on a series of autohotkey scripts to listen for the emulator/program launch and exit to do manage joytokey.
--- Quote from: arximidis on March 28, 2014, 07:00:10 am ---Go to the directory where the cookies are stored and delete It!! (it's the file cookies.dat)
--- End quote ---
Done. This didn't change the behavior. Current version still doesn't launch. Tried a few times.
arximidis:
--- Quote from: Le Chuck on March 28, 2014, 03:27:14 pm ---
Nope :dunno Stops after a single play - all versions have thus far. Thought you designed it like that since it didn't ever not do it.
--- End quote ---
Ok, Now it will repeat. When stops, after 5 seconds it will play again
--- Quote from: Le Chuck on March 28, 2014, 03:27:14 pm ---I can test it, I have tons of interfaces I can try it out with. Joy to mouse will work but if that's the solution then you need to implement the ability to run a program or batch file before and after you run the target emulator. EG when you launch Zsnes the FE first sends command to kill joytokey then when you exit Zsnes FE sends execute joytokey. Otherwise users will have to rely on a series of autohotkey scripts to listen for the emulator/program launch and exit to do manage joytokey.
--- End quote ---
Ok! Actually I am kinda doing that, but it's complicated (I mean to long to explain) ;D
I can add a feature to select which bat file to load before and after the emulator
--- Quote from: Le Chuck on March 28, 2014, 03:27:14 pm ---Done. This didn't change the behavior. Current version still doesn't launch. Tried a few times.
--- End quote ---
I am trying to understand what is causing the problem. From the video you uploaded I can see that the music don't stop and the loading message disappears. From this I can understand where the problem is but not exactly
Try this when you can
Go to line 814 (main.html) of the version you have, and add this command
--- Code: ---clearTimeout(msgtmr);
--- End code ---
next to the command
--- Code: ---msgtmr = setTimeout(function() {
--- End code ---
If it doesn't work, please send me the main.html of the latest working version to see what is going on
Thanks
Le Chuck:
Line 814 didn't have that string (I'm using Notepad++ to edit) so I found the string on 806 I think I went with that one.
No dice tho, didn't work. Attached both the one I was editing and the last working version I had.
I'll be out all evening but I'll try whatever you post when I return late tonight or in the morning. :cheers:
arximidis:
OK, think I found it
Go to line 893 and replace
--- Code: ---if (prcWait) vlc.playlist.pause();
--- End code ---
with
--- Code: ---if (prcWait) document.vlc.playlist.stop();
--- End code ---
and at line 909 replace
--- Code: ---if ((back_music_on)&&(prcWait)) vlc.playlist.play();
--- End code ---
with
--- Code: ---if ((back_music_on)&&(prcWait)) document.vlc.playlist.play();
--- End code ---
In the new version you will not have this issue