That mute/unmote in player (line ~908): \Source\WebCore\page\ContextMenuController.cpp ... //ContextMenuItem MediaMute(ActionType, ContextMenuItemTagMediaMute, ContextMenuItem MediaMute(CheckableActionType, ContextMenuItemTagMediaMute, ...
Instead of "ActionType" it should be "CheckableActionType". So it shows up in contextmenu like "Loop" option.
@Jabirulo Sure that didn't miss/mess something ? To made anything be changed in the RMB MUI's menu of player , there should be changes (also, or only, dunno) done inside of mediaplayer's mui code, in the mediacontrolsgroupclass.cpp.
nop, 'cos I think it was just a typo (copy&paste). As the rest of the code is already there, when user chooses MUTE in contextmenu it works without any other change.
@Jabirulo For me it didn't. Replaced Instead of "ActionType" on "CheckableActionType", recompile, and still when i press RMB over the video i have the same "mute" entry, which never have any mark like "loop", and never happend to be mute/unmute.
But the MUTE contextmenu entry is changed to a "chooser" enable/disbale like LOOP option. Coose MUTE it with RMB (just RMB, dont click then LMB) and it mutes audio, next time you show/pop contextmenu it should have a circle/tick like LOOP menu option.
It doesn't change to UNMUTE string.
Contextmenu's LOOP/MUTE/.. options are enabled/disabled with RMB over the option and release RMB.
I don't think we need the same marker of the loop, what we need would be a normal switch between the mute/unmute options Like the switch of the Play/Pause items for example
Also noted now that in catalog we have only a "Switch to Fullscreen" option but not a reverted one such a "Switch to window" one that eventually we should have aswell
But the MUTE contextmenu entry is changed to a "chooser" enable/disbale like LOOP option. Coose MUTE it with RMB (just RMB, dont click then LMB) and it mutes audio, next time you show/pop contextmenu it should have a circle/tick like LOOP menu option.
Still no. It didn't changes for me at all with the change you quote above. I go to http://www.html5videoplayer.net/html5video/mp4-h-264-video-test/ , press RMB , have "mute" without mark like "loop" or "control" have. Then choice mute, it mute as before, press RMB, and see the same "mute" as before which i can press again to unmute. But nothing like "red mark around" like for "loop" and "control".
Are you 100% sure that it was only one file with only one change to make it works ? Because i tried few times, be sure that it recompiled, sure that i test new binary, etc ,etc : no effect.
Yeah, on your screenshot it works as i expect it to works, but it didn't for me. So probabaly you change something else and not only line 908 of ContextMenuController.cpp
Don't take the answer as offence (you know me, so you know that its all for reasson): Plz didn't upload any binarys in public with your tests, i asked from begining about, it create mess, and will be "i test jabirulo version it works/didn't, i test kas1e version it didn't/works". I edit your previous post if you doesn't mind. You start adding stuff we dind't testing carefull (like your change for scripts with floattext, which still have issues) so plz, NO BINARIES :) It a bit killing motivation, as I asked from begining when making all this public in big-fat readme : if one want to add something, but it wasn't added to main repo by any of reassons, bad luck, but no other forks plz to avoid mess !
We surely don't want to deal later with wrong bug reports. And i surely don't want to deal with other forks. Just send stuff in mails, or in pull-requests or whatever. Just like i asked in the readme when making repo and stuff.
Do whatever you want of course with code and stuff, but plz _NO TEST BINARIES IN PUBLIC_
Anyway, i tested your binary, and yes, "Mute" ok with your version. But plz, send me proper changes (or better pull-request it via github).
Quote:
As the link you posted shows MUTE disabled, maybve they "forced" to deon't mute audio in this page/video.
Your test bin works ok also and on video where it disabled by default, all fine there.
But be 100% sure that you got latest version from github, do only one that single change you talk about and recompile everything, _without anything else or any other change_. Because binary you send there DO HAVE other changes. Its not plain recompile of github's version. For example your floattext change for scripts are there meaning its not plain recompile with only one change.
Create new directory, grab latest github version, do only one your single change, recompile and see if it works.
In any case PLZ NO "your" binaries anywhere in public! Pretty plz ! It will make a lot of problems no one want. Even now, when someone was fast enough to download your binari, we will have "ops, i have javier's version, sorry" and that damn bad.
Thanks for understading :) Imho we better continue in mail about that "mute" crap ?
Edited by kas1e on 2020/4/19 6:52:46 Edited by kas1e on 2020/4/19 6:54:42 Edited by kas1e on 2020/4/19 6:54:56 Edited by kas1e on 2020/4/19 6:56:05 Edited by kas1e on 2020/4/19 6:59:51 Edited by kas1e on 2020/4/19 7:01:27 Edited by kas1e on 2020/4/19 7:21:06 Edited by kas1e on 2020/4/19 7:27:14 Edited by kas1e on 2020/4/19 7:31:11
Guys, please use the power of git. Instead of new directories, create a new git branch for each fix or feature.
IMHO the best way to contribute:
1) fork kas1e's repo on Github 2) clone your fork once per dev env 3) pull changes from kas1e (upstream) to keep your repo uptodate 4) send pull requests back to kas1e
So instead of creating a new dir, after cloning, do something like:
git checkout master # move to master branch if not there already git checkout -b your-new-branch # new branch based on the latest master
When you move between the branches, you generally need to rebuild only the changed source code, not everything.
Took the time to download it yesterday night before you removed the link and yes the switch item is now showed correctly, just when you click it still did not changes the "mute" to "unmute" text in menu and viceversa
@kas1e
A very little typo found in one strings, related to the format:
@samo79 Choose MUTE it with RMB (just RMB, don't click then LMB) and release RMB when you are over MUTE option. Next time you show/pop contextmenu it should have a circle/tick like LOOP menu option.
Mmm i think to not exactly understand what you mean :) I have no problem to activate/disactivate that "circle" item in menu Also the audio graphical image will be correctly activated/disactivated even in the control bar below
But activated or not, the text in that audio option doesn't seems to swtich from mute to unmute (still always set as Mute whetever the circle gadget will be activated or not)