yjPlay
yjPlay copied to clipboard
Does this library support local ads from the phone instead of IMA
Hi dear developer, does this library support local ads from phone(meaning that we store file video inside phone play when certain amount time and pause content current video play)?
Realize advertising on any index.
.addOnWindowListener(new VideoWindowListener() {
@Override
public void onCurrentIndex(int currentIndex, int windowCount) {
if (currentIndex == 0) {
Log.d(TAG, "setOnWindowListener:" + currentIndex);
exoPlayerManager.next();
//屏蔽控制布局Shielding control layout
exoPlayerManager.hideControllerView(true);
//true如果屏蔽控制布局 但是需要显示全屏按钮。手动显示。
} else {
//恢复控制布局Recovery control layout
exoPlayerManager.showControllerView(true);
}
}
})
could you have fully code?