Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-play ads in same-video usecase.
Resume on contentcanplay. We now auto-play when an ad gets loaded if we're playing ads in the same video element as the content. The problem is that in IE11, we cannot play in addurationchange but in iOS8, we cannot play from adcanplay. This will allow ad-integrations from needing to do this themselves.
- Loading branch information
eb57aba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that contentcanplay breaks resuming to play m3u8 at least after ad was played if m3u8 was without autoplay.
eb57aba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@waster using native HLS or contrib-hls? Would you mind filing an issue so we can track it better?
eb57aba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm actually using external flashhls plugin for videojs and see that canplay event didn't fire , I'll check with contrib-hls too.
eb57aba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eb57aba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, opened the issue.