Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to prevent preload of videos #511

Closed
augied opened this issue Apr 12, 2016 · 3 comments
Closed

Option to prevent preload of videos #511

augied opened this issue Apr 12, 2016 · 3 comments

Comments

@augied
Copy link

augied commented Apr 12, 2016

I try to use as little mobile data as possible, and most of the time this app helps me with that goal. I like that I can scan through a bunch of stories with only minimal data usage. However, every once in a while, it lets me down and decides to preload an embedded video. Suddenly, I've wasted 40mb on a video I didn't even watch.

Would it be possible to create an option to disable all videos in the built-in viewer, and only allow them when I choose to open in browser?

@David-Development
Copy link
Member

Thanks for the report. Do you have some sample feeds?
I would expect the default setting to not preload any video data. As I can see there does exists a video preload attribute in html. So maybe the rss item itself forces the webview to preload the video. I might be able to override this attribute. But some sample feed would be helpful.

@augied
Copy link
Author

augied commented Apr 17, 2016

That's a little tricky, since I usually notice it later when I check my data usage. I'll keep a close eye on things, and post some sample feeds as I identify them. Of course, once I start looking out for it, I'm sure it won't happen for a while.

@David-Development
Copy link
Member

Sorry for this really long delay. I figured out that it is indeed possible to enable preload in html. Since I'm using the WebChromeClient for rendering the feeds this attribute will cause the browser to preload videos. @augied It would be helpful for me to have a sample feed to test against! (if you have one by now). Maybe the videos are "autoplayed" in those feeds as well?

<video preload="true" autoplay ... >

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants