toro icon indicating copy to clipboard operation
toro copied to clipboard

Home page video still playing in background while we are on the full screen

Open omidraha opened this issue 6 years ago • 2 comments

Hi,

If fullscreen option on the demo application changed to the ture, exactly on this line:

https://github.com/eneim/toro/blob/dev-v3/app/src/main/java/im/ene/toro/sample/custom/CustomLayoutFragment.java#L147

Then if we click on the video on the home page, the page will switch to full screen and start playing the video, but also video on the home page still playing on the background (we can hear the sound of it) .

How to fix this behavior?

Also when we run demo application, on home page video will start automatically, is there an option to stop auto playing video on home page?

Info:

"im.ene.toro3:toro:3.6.1.2802"
"im.ene.toro3:toro-ext-exoplayer:3.6.1.2802"

omidraha avatar Nov 09 '18 19:11 omidraha

Sorry, I'm blocked. Any idea on first problem?

omidraha avatar Nov 10 '18 18:11 omidraha

@omidraha Hi sorry I was kinda full of work last week so your message was out of sight. Will take a look on this tomorrow (UTC +9). Please wait~

eneim avatar Nov 11 '18 11:11 eneim