Skip to content

Commit

Permalink
update test url
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Jun 17, 2024
1 parent 2aa00f8 commit adfabb4
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ protected void onCreate(Bundle savedInstanceState) {

ArrayList<GSYSampleADVideoPlayer.GSYADVideoModel> urls = new ArrayList<>();
//广告1
urls.add(new GSYSampleADVideoPlayer.GSYADVideoModel("http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4",
urls.add(new GSYSampleADVideoPlayer.GSYADVideoModel("http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8",
"", GSYSampleADVideoPlayer.GSYADVideoModel.TYPE_AD));
//正式内容1
urls.add(new GSYSampleADVideoPlayer.GSYADVideoModel("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4",
"正文1标题", GSYSampleADVideoPlayer.GSYADVideoModel.TYPE_NORMAL));
//广告2
urls.add(new GSYSampleADVideoPlayer.GSYADVideoModel("http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4",
urls.add(new GSYSampleADVideoPlayer.GSYADVideoModel("http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8",
"", GSYSampleADVideoPlayer.GSYADVideoModel.TYPE_AD, true));
//正式内容2
urls.add(new GSYSampleADVideoPlayer.GSYADVideoModel("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public class DetailADPlayer2 extends GSYBaseADActivityDetail<NormalGSYVideoPlaye

private GSYADVideoPlayer adPlayer;

private String urlAd = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
private String urlAd = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";

private String urlAd2 = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
private String urlAd2 = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";

private String url = "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected void onCreate(Bundle savedInstanceState) {

//String url = "http://baobab.wd jcdn.com/14564977406580.mp4";
List<GSYVideoModel> urls = new ArrayList<>();
urls.add(new GSYVideoModel("http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4", "标题1"));
urls.add(new GSYVideoModel("http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8", "标题1"));
urls.add(new GSYVideoModel("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4", "标题2"));
urls.add(new GSYVideoModel("https://res.exexm.com/cw_145225549855002", "标题3"));
urls.add(new GSYVideoModel("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4", "标题4"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ private String getUrl() {
//String url = "https://res.exexm.com/cw_145225549855002";
//String url = "http://storage.gzstv.net/uploads/media/huangmeiyan/jr05-09.mp4";//mepg
//String url = "https://zh-files.oss-cn-qingdao.aliyuncs.com/20170808223928mJ1P3n57.mp4";//90度
String url = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";//90度
String url = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";//90度
//String url = " String source1 = "http://9890.vod.myqcloud.com/9890_4e292f9a3dd011e6b4078980237cc3d3.f20.mp4";
//String url = "http://video.cdn.aizys.com/zzx3.9g.mkv";//long
//String url = "rtsp://admin:wh123456@112.44.163.248:554/h264/ch01/main/av_stream";//long
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public View getView(final int position, View convertView, ViewGroup parent) {


final String url = "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4";
final String urlAD = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
final String urlAD = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";

//多个播放时必须在setUpLazy、setUp和getGSYVideoManager()等前面设置
holder.gsyVideoPlayer.setPlayTag(TAG);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public View getView(final int position, View convertView, ViewGroup parent) {


final String url = "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4";
final String urlAD = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
final String urlAD = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";

//多个播放时必须在setUpLazy、setUp和getGSYVideoManager()等前面设置
holder.gsyVideoPlayer.setPlayTag(TAG);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected void onCreate(Bundle savedInstanceState) {

List<GSYVideoModel> urls = new ArrayList<>();

urls.add(new GSYVideoModel("http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4", "标题1"));
urls.add(new GSYVideoModel("http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8", "标题1"));
urls.add(new GSYVideoModel("https://media6.smartstudy.com/ae/07/3997/2/dest.m3u8", "标题3"));
urls.add(new GSYVideoModel("http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4", "标题2"));
//binding.detailPlayer.setUp(urls, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void onClick(View v) {
if (position % 2 == 0) {
url = "https://res.exexm.com/cw_145225549855002";
} else {
url = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
url = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";
}
//listVideoUtil.setCachePath(new File(FileUtils.getPath()));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected void onCreate(Bundle savedInstanceState) {

detailPlayer = (StandardGSYVideoPlayer) findViewById(R.id.detail_player);

String url = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
String url = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";

//增加封面
ImageView imageView = new ImageView(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public View getView(final int position, View convertView, ViewGroup parent) {
}

final String urlH = "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4";
final String urlV = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
final String urlV = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";
final String url = (position % 2 == 0) ? urlH : urlV;

if (position % 2 == 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public View getView(final int position, View convertView, ViewGroup parent) {
holder = (ViewHolder) convertView.getTag();
}
final String urlH = "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4";
final String urlV = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
final String urlV = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";
final String url = (position % 2 == 0) ? urlH : urlV;
final int coverId = (position % 2 == 0) ? R.mipmap.xxx1 : R.mipmap.xxx2;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public void run() {
//模拟请求失败
onError(0, 0);
} else {
mOriginUrl = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
mUrl = "http://7xjmzj.com1.z0.glb.clouddn.com/20171026175005_JObCxCE2.mp4";
mOriginUrl = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";
mUrl = "http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear3/prog_index.m3u8";
mTitle = "ffff1";
}
mCache = false;
Expand Down

0 comments on commit adfabb4

Please sign in to comment.