com.pili.pldroid.player.PLOnPreparedListener Java Examples
The following examples show how to use
com.pili.pldroid.player.PLOnPreparedListener.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CaptureVideoActivity.java From qiniu-lab-android with MIT License | 5 votes |
public void loadVideoByUrl(String url) { final PLVideoView videoView = uploadResultVideoView; videoView.setVideoURI(Uri.parse(url)); videoView.setOnPreparedListener(new PLOnPreparedListener() { @Override public void onPrepared(int i) { } }); }
Example #2
Source File: QuickStartVideoExampleActivity.java From qiniu-lab-android with MIT License | 5 votes |
public void loadVideoByUrl(String url) { final PLVideoView videoView = uploadResultVideoView; videoView.setVideoURI(Uri.parse(url)); videoView.setOnPreparedListener(new PLOnPreparedListener() { @Override public void onPrepared(int i) { videoView.start(); } }); }