Hi Emily, It is marginally better... but not yet usable.
Using the nighty build of Reference Browser (July 9) against the test case that I provided to you of the loop play of 10 5sec videos I get these results. 6 times through the loop then hangs. ... and 11 times through the loop then hangs if I turn on airplane mode and Do not disturb to stop notifications. In either case trying to restart the play loop after a hang condition it immediately hangs on the second video. Did your guy doing the bug fix use the test case? Did he get different results? I think success can be measured if the loop can play continually without hanging. 😉 If kids want to learn by seeing the videos over and over again in the loop play they should not need to restart the app every few minutes. Speaking of restarting the app. Is there a recommended way to programmatically close Reference Browser so that it will clear up the hang condition? I have been going to the app settings page to do this. Maybe till stability can be achieved is a full shutdown of the app the best way to clear out what ever is causing the hang to persist once it begins? Maybe I can add a button in the app to do the purge programmatically?? Thanks! Bob Achgill ________________________________ From: Emily Toop <et...@mozilla.com> Sent: Friday, July 3, 2020 12:43 PM To: Bob Achgill <bobachg...@hotmail.com> Subject: Re: Fw: Reference Browser - video loop play hangs Hi Bob, Yesterday a fix for your issue landed in the nightly version of GeckoView. If you are building GeckoView from source you should be able to get access to it immediately, but I believe you are forking Reference Browser. The latest version of Reference Browser nightly can be found here: https://firefox-ci-tc.services.mozilla.com/tasks/index/project.mobile.reference-browser.v3.nightly/latest<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffirefox-ci-tc.services.mozilla.com%2Ftasks%2Findex%2Fproject.mobile.reference-browser.v3.nightly%2Flatest&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146465269&sdata=sDkr9D6UVxQGFkHkGWhODbIyR16GFOrFS6nsSYvjGV8%3D&reserved=0>. This _should_ contain the fix you are after, but Reference Browser lags about a day behind GeckoView, so tomorrow's nightly is most likely to contain the fix. It would be great if you could confirm that this fix does indeed resolve your issue. Regards Emily On Thu, 2 Jul 2020 at 23:51, Bob Achgill <bobachg...@hotmail.com<mailto:bobachg...@hotmail.com>> wrote: Hi Emily, Is there anything more I can do on my end? I am getting ready to launch my education app that will help with literacy support in developing countries and would like to know if this bug will be fixed any time soon. My fall back is to unplug using Google Tag analytic reporting in the app so as to not hangup the playing of videos for the children. However, the reporting will be good so the local education folks can get an idea of how children in their area are engaging with the literacy app. I went ahead and posted a bug report and it was assigned... but I have no visibility into what is the next step. https://github.com/mozilla-mobile/reference-browser/issues/1240<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmozilla-mobile%2Freference-browser%2Fissues%2F1240&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146475265&sdata=%2FHvj7hkkmTDDhiG6qhpkRtEMyjGY5QWrmEN9SBR%2FI78%3D&reserved=0> [https://repository-images.githubusercontent.com/151247213/34017d00-ae45-11e9-8621-e022fcbffb93]<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmozilla-mobile%2Freference-browser%2Fissues%2F1240&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146485260&sdata=4WU5Bv%2FKXuXfdZK2d8%2B0bJoosQLkFnd7Hs1Se%2B51H0E%3D&reserved=0> Google Tag Manager causes video to stall · Issue #1240 · mozilla-mobile/reference-browser<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmozilla-mobile%2Freference-browser%2Fissues%2F1240&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146495255&sdata=mlVRWd0doxfKr4v3F5Ckbe%2FeC4x5jYfLmDuBSfqgeKg%3D&reserved=0> On Android 8 playing consecutive 5 sec local videos using a JS playlist ... after a few videos the next qued video opens but either does not auto play (shows the play button) and must manually pres... github.com<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgithub.com%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146505250&sdata=8i8t6HMYFGZz4reKoEYSsHLe%2BstF8gDqF7iORzaSb40%3D&reserved=0> I did not hear back from James Willcox after I provided him the test case he requested that exposes the "bug". It appears that there is a conflict between Reference Browser queing video play and Google Tag pushing data back to GA. The conflict causes RB to hang in starting up new videos if the videos are 5 seconds long and played one after the other as is the use case in the His Hands Reader app. I think it will be a very good use case for Mozilla to have the Reference Browser embedded in the His Hands Reader mother tongue literacy app. I have nine languages immediately ready to begin distribution in areas where schools are shutdown across the globe and more being added. Having the analytics report working will help other language communities immediately see the value of adding their language so "their" children can also benefit while the pandemic is preventing children from going to school. You can see the global analytics report here that will catch the data here... https://datastudio.google.com/reporting/0B79iKFBBwqNpSkcwODhHQVdKMXM/page/YWT<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatastudio.google.com%2Freporting%2F0B79iKFBBwqNpSkcwODhHQVdKMXM%2Fpage%2FYWT&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146515251&sdata=xAK86hCjLmQWIggAy7I77FDBx4hnkDM8awPr7GApSK8%3D&reserved=0> Yes, it's probably the rare occasion that GA is being used for something where it's not making money off the people. 😉 Here is the strategic direction of the His Hands Reader in bringing a crowd source volunteer solution to mother tongue literacy for the Hearing and Deaf world wide. http://www.hishandsreader.org/2020.html<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hishandsreader.org%2F2020.html&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146525241&sdata=WZBkosQHmKYDeKFtCONgKzjWNIA4voDW5BNeCzvdvgs%3D&reserved=0> [http://www.hishandsreader.org/uploads/2/0/4/6/20464738/1428266454.png]<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hishandsreader.org%2F2020.html&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146535236&sdata=iMyzDiTP5UL9IBfLX6GsKdqT8VxURdOlrHRhasrDu7k%3D&reserved=0> 2020<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hishandsreader.org%2F2020.html&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146545233&sdata=i%2BHTYriUARPuL53V9v37jT0GVIcjx4%2FiSsW649sBnpE%3D&reserved=0> HIS HANDS READER MOTHER TONGUE LITERACY Helping Hearing and Deaf learn to read across all 7,000 languages this year A volunteer enabled crowd sourcing to help children learn to read using an Android.... www.hishandsreader.org<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hishandsreader.org%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146555235&sdata=TRDbyWf5R4KIWxWjjqrg%2BTGPzxyDFrRZhFaawGGeLxI%3D&reserved=0> Thanks! Bob Achgill www.HisHandsReader.org<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hishandsreader.org%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146555235&sdata=TRDbyWf5R4KIWxWjjqrg%2BTGPzxyDFrRZhFaawGGeLxI%3D&reserved=0> https://www.linkedin.com/in/bob-achgill-122a609/<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbob-achgill-122a609%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146565227&sdata=%2BA6WgWX1vSSxtsI6cG8ZSjORPev3r%2B49PrbXsAvbiiA%3D&reserved=0> [https://static-exp1.licdn.com/sc/p/com.linkedin.public-profile-frontend%3Apublic-profile-frontend-static-content%2B0.2.278/f/%2Fpublic-profile-frontend%2Fartdeco%2Fstatic%2Fimages%2Fghost-images%2Fperson.svg]<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbob-achgill-122a609%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146575214&sdata=BoGVSFoqlTFNRtc7BWoJs9%2FKz2crP83we%2Bd%2B4nSmW74%3D&reserved=0> Bob Achgill - Seeking 7,000 volunteers to add their hand signs and/or language using new Android app to HHR - HisHandsReader.org/my-hhr | LinkedIn<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbob-achgill-122a609%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146585218&sdata=zYkJznnJqEP%2B4xPc%2BNJz7jmhqYWHxsH8222nurrhImA%3D&reserved=0> View Bob Achgill’s profile on LinkedIn, the world's largest professional community. Bob has 3 jobs listed on their profile. See the complete profile on LinkedIn and discover Bob’s connections ... www.linkedin.com<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146595211&sdata=JdK9dLRi8oBaAoWe36olyiimjf198KA1OOweJV%2BC1N0%3D&reserved=0> [http://www.hishandsreader.org/uploads/2/0/4/6/20464738/__993621.jpg]<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hishandsreader.org%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146605208&sdata=Lx5HTIfM8qPCBFLz9U2coDBsLiVy2N7tj2rlgHuGXvw%3D&reserved=0> His Hands Reader Dictionaries and reading Primers<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hishandsreader.org%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146615197&sdata=4y6Vd8x1r2eGGpLawC6d9%2FCW%2FkWmC54tQbD2wws6eug%3D&reserved=0> Do you know someone who is deaf and living in a developing country? The His Hands Reader (HHR) site is collecting and distributing video dictionary and reading primers for every language of the world to help deaf persons learn to read using their native hand signs. The videos will also help hearing family members learn hand signs and or learn to read English, their local business language or ... www.hishandsreader.org<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hishandsreader.org%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146625201&sdata=fX5uAy8SrFOXQaw2FgIYmUB%2FGiQrw%2Bkel2iujYGsWoI%3D&reserved=0> [http://datastudio.google.com/reporting/0B79iKFBBwqNpSkcwODhHQVdKMXM/page/YWT/thumbnail?sz=full&feature=opengraph]<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatastudio.google.com%2Freporting%2F0B79iKFBBwqNpSkcwODhHQVdKMXM%2Fpage%2FYWT&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146635191&sdata=KCdazB5WNPvchIOpVvmvjuiLIlnRp8iK%2F82RFeBI%2B%2Fg%3D&reserved=0> His Hands Reader World Statistics<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatastudio.google.com%2Freporting%2F0B79iKFBBwqNpSkcwODhHQVdKMXM%2Fpage%2FYWT&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146645183&sdata=JvJQGSjJrb0biMT8a3gKEsDBER1s72N6OhyzC4FrGW0%3D&reserved=0> Google Data Studio turns your data into informative dashboards and reports that are easy to read, easy to share, and fully customizable. datastudio.google.com<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdatastudio.google.com%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146655183&sdata=BuJSiFAYbq7oVC1PmfZWk78HugHHTS0eHHU7EVS4yrw%3D&reserved=0> ________________________________ From: Bob Achgill <bobachg...@hotmail.com<mailto:bobachg...@hotmail.com>> Sent: Tuesday, June 9, 2020 4:33 PM To: James Willcox <jwill...@mozilla.com<mailto:jwill...@mozilla.com>> Cc: mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org> <mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org>>; Emily Toop <et...@mozilla.com<mailto:et...@mozilla.com>>; bobachg...@hotmail.com<mailto:bobachg...@hotmail.com> <bobachg...@hotmail.com<mailto:bobachg...@hotmail.com>> Subject: Re: Reference Browser - video loop play hangs Thanks James! See attached screenshots and test case zip file. Step 1 - Add the resource to Core.kt add(Session("resource://android/assets/www/HHR-Learn2Read.html")) Step 2 - unzip www.zip<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zip%2F&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146655183&sdata=Vg6UCFHuxaOBzxG3%2BTjBN7rSDtcBPSp%2BeWNe5UERI5U%3D&reserved=0> into assets directory Step 3 - Run Reference Browser and select the check boxes for the first 10 words a1 through address1... then select Loop then press Play ... and press the Fullscreen button on the video If I don't have the phone in airplane mode the video loop sequence will hang about the second loop or sooner. If the phone is in airplane mode then the video loop sequence will begin hanging around the 4th loop. Once it hangs I can press the video play button and it will progress but will start hanging much more frequently till it just permanently hangs. To clear video hanging I go to Settings->App->Reference Browser->Force Stop The JS is at the end of the html. The JS lets the user check which words they want to practice learning. And it also lets the user choose preset lists of words as well. Each time a word video is played the statistic of having played the video is pushed to Google Tag Manager. I could just remove the GTM but educators and ministries of education feel good when they can see how engagement is happening. The GTM stats will anonymously give counts of how many times each word video is watched, which language, in which city, etc. ... no advertisements! 😉 The html works fine on Android Firefox, Windows and Mac browsers. When I remove about 400k of the html text (not the 2,000 check boxes) it goes longer before it starts hanging ... but still will eventually hang. It is important that loops will never hang because little children learn by repetition. The parent will be able to get the child started and not have to babysit keeping the playlist going. I included a screen shot of my phone. I run pretty close to max internal memory (1GB free) but that is pretty normal for all the folks in the developing world... so it is a realistic test case. As I said... the same html works with Firefox for Android. Thanks so much for having a look! Bob ________________________________ From: James Willcox <jwill...@mozilla.com<mailto:jwill...@mozilla.com>> Sent: Tuesday, June 9, 2020 11:15 AM To: Bob Achgill <bobachg...@hotmail.com<mailto:bobachg...@hotmail.com>> Cc: mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org> <mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org>>; Emily Toop <et...@mozilla.com<mailto:et...@mozilla.com>> Subject: Re: Reference Browser - video loop play hangs Can you post a test case that reproduces this? Are you using the "loop" attribute on a video element or some other mechanism? Thanks, James On Mon, Jun 8, 2020 at 2:29 PM Bob Achgill <bobachg...@hotmail.com<mailto:bobachg...@hotmail.com>> wrote: I have a 360kb video that plays in a continuous loop. 1) With the phone in Airplane mode it plays till the 140th play then hangs. 2) Not in Airplane mode it plays irregularly just a few times then hangs. The JS that plays the video also accesses Google Tag Manager. So I am guessing that GTM is interrupting the play of the next loop. Are either of these expected behaviors? I don't encounter either when I run the same video loop with Firefox Android. I am testing on.... Samsung S7 Video Data read from extSD ~~~ Both failures are troublesome for my use case for early child distance education in developing countries. Is there a hope that these kinds of performance issues will get resolved in the Reference Browser in the near future? If I need in-app Fullscreen video support across all versions of Android... are there other options other than Reference Browser? Is there an older Firefox browser example that I can plug in to my education app that would fit the near term need till Reference Browser gets up to speed? I see this on GitHub... is it a candidate? https://github.com/mozilla-mobile/android-components/tree/master/samples/browser/src/main/java/org/mozilla/samples/browser<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmozilla-mobile%2Fandroid-components%2Ftree%2Fmaster%2Fsamples%2Fbrowser%2Fsrc%2Fmain%2Fjava%2Forg%2Fmozilla%2Fsamples%2Fbrowser&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146665181&sdata=CdCb8hcLj%2BnXd6ufjhkIhP7aIrg%2Fgb8PNWlZbbW9nvg%3D&reserved=0> Thanks! Bob Achgill _______________________________________________ mobile-firefox-dev mailing list mobile-firefox-dev@mozilla.org<mailto:mobile-firefox-dev@mozilla.org> https://mail.mozilla.org/listinfo/mobile-firefox-dev<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.mozilla.org%2Flistinfo%2Fmobile-firefox-dev&data=02%7C01%7C%7C0633bc9e0da2407f541808d81f789b4c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293950146675171&sdata=QBBI%2BODyjDNk8UG5hbne7BtDeMygGeiAmLJfozyjIck%3D&reserved=0>
_______________________________________________ mobile-firefox-dev mailing list mobile-firefox-dev@mozilla.org https://mail.mozilla.org/listinfo/mobile-firefox-dev