Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Video rebuffers after each ad #2

Open
jonhoo opened this issue Dec 17, 2012 · 6 comments
Open

Video rebuffers after each ad #2

jonhoo opened this issue Dec 17, 2012 · 6 comments

Comments

@jonhoo
Copy link
Contributor

jonhoo commented Dec 17, 2012

With commit 1506b5f now reusing the original video player and changing the source will interrupt buffering, causing the video to start buffering from the seek time when it is resumes playback after the ad even if the user had loaded the entire video before starting it.

Users will probably be quite annoyed if they buffer up a long-ish video (which are usually the ones with ads) to watch (especially on a slow connection like, say, mobile) and once they hit the first ad, the video will need to load again... Also makes for quite a lot of wasted bandwidth.

In fact, iOS and Android are precisely the cases where we'd want to avoid this behavior since desktop OSes usually have a "proper" network connection and won't mind rebuffering.

@gunnarlium
Copy link
Member

We have no other choice but to reuse player if we want this to work on iPhones.

@jonhoo
Copy link
Contributor Author

jonhoo commented Dec 17, 2012

We could use different players by default and then fall back to reusing the single player on devices that require it. Discarding downloaded video data is not good default behavior.

@gunnarlium
Copy link
Member

That would add a lot of complexity, for very little gain. My testing showed that iPhone did not work at all, iPad required manually clicking play whenever you switched player, and I also seem to remember that in fullscreen, you had the same situation as on iPhone. We have not done extensive Android, as Android is currently outside of the scope.

@jonhoo
Copy link
Contributor Author

jonhoo commented Dec 17, 2012

I would argue there is quite substantial amount of gain. Forcing rebuffering of a video after every ad is a problem - especially with mobile connections becoming more common even on laptops.

Also, Android is outside of scope?

@gunnarlium
Copy link
Member

It's not a substantial gain, if no devices will benefit from it.

Android is outside of scope currently, but will be supported in the not too distant future. Numbers rule.

@gunnarlium
Copy link
Member

Current status:

Preroll and postroll works great on all devices. Midroll is not optimal for long videos on mobile devices.

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

No branches or pull requests

2 participants