1.11M Members

Can't get my video player work

 
0
 

Could somebody please check this lines of codes , i cant get my video played from current url, and it doesn't give me any mistake either

call.setOnClickListener(new OnClickListener() {
	   	    public void onClick(View v) {
	   	    	int a =canli.getVisibility();
	   	    	canli.setVisibility(1);
	   	    	try {
	   	    		
	   	    		
	   	    		
	   	    		call.setVisibility(a);
	   	    		pb.setVisibility(1);
		   	    	 Uri web = Uri.parse("http://tegos.ru/video/new/prikol/3gp/Ukhodi_Dver_Zakroj.3gp");
		   	    	 canli.setVideoURI(web);
		   	    	 canli.setMediaController(mc);
		   	    	 canli.requestFocus();
		   	    	 canli.start();
		   	    	 mc.show();
		   	     }
		   	     catch(Exception e) {
		   	    	 System.out.print(e.getMessage()+"error");
		   	     } 
	   	   	    	}
	   	    	
	   	     });
 
0
 

really? 9 views and no single answer?? :) come on people...

 
1
 

9 views means nothing. It could have been moderators checking for possible spam. Did you consider that?

Have look at this discussion @stackoverflow

Question Answered as of 3 Years Ago by peter_budo
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: