James,

Was the test case clear?

I searched for your question regarding does the video get stuck at the 
beginning or middle.  I found the bug...
Implement play permission request for GeckoView
https://bugzilla.mozilla.org/show_bug.cgi?id=1593843

It kind of does appear to be always very close to the beginning.  The gas gauge 
for a typical 5 sec video is just to the right of start.  In reading the bug 
thread once it mentions that the operation would be that the Pause button would 
be enabled.  The Pause button is being enabled.  Most of the time clicking on 
the gas gauge in another place then pressing play starts the video to playing 
to the end.  Would that be the expected result if it was related to this?  
Towards the end of the thread it says that maybe they implemented an autoplay 
setting?  I searched the code and found a boolean listed "autoplay".

Is there some setting I need to adjust?

What I did not see in the bug thread was why the hang does not happen till 
playing a number of videos.  Or why putting the phone in airplane mode helps.  
Or why reducing the amount of text in the html file helps.  They did say 
something about if they chose to grant? a policy at the time of Play that 
timing may be an issue??  Yes, that does correlate with the things that seem to 
help the situation... as Airplane mode and reducing the size of the html file 
would increase phone performance.

Any idea on when you can have a look?  I've been invited to give a talk to a 
webinar of 500 educators in India tomorrow morning.  I am sure I will start 
getting folks wanting to try out the free app as it's function matches their 
needs for helping students study at home during Covid 19.   Contacts in Africa 
that are having their similar webinar on Monday are going to be listening in 
tomorrow, too.  They represent 25% of the planet of children that all have the 
same need due to the pandemic.  I hope its an easy fix!

Thanks for your help and the team for making such a great tool!

Bob Achgill

________________________________
From: James Willcox <jwill...@mozilla.com>
Sent: Tuesday, June 9, 2020 11:15 AM
To: Bob Achgill <bobachg...@hotmail.com>
Cc: mobile-firefox-dev@mozilla.org <mobile-firefox-dev@mozilla.org>; Emily Toop 
<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://nam11.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%7C1f95eff151724444bdf808d80c9066fe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637273161619722428&sdata=fuzsouppW8ei2e%2BwM5nLjcCS0UxzoKV772WS7egGmGM%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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.mozilla.org%2Flistinfo%2Fmobile-firefox-dev&data=02%7C01%7C%7C1f95eff151724444bdf808d80c9066fe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637273161619722428&sdata=qf3rx61Ay75hrHuIomATVFTYyNSXg6oWgWwc6pf%2BdEo%3D&reserved=0>
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to