We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,442 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Can't get my video player work

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");
		   	     } 
	   	   	    	}
	   	    	
	   	     });
2
Contributors
2
Replies
11 Hours
Discussion Span
1 Year Ago
Last Updated
3
Views
Question
Answered
somon
Newbie Poster
16 posts since Oct 2010
Reputation Points: 26
Solved Threads: 0
Skill Endorsements: 0

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

somon
Newbie Poster
16 posts since Oct 2010
Reputation Points: 26
Solved Threads: 0
Skill Endorsements: 0

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

Have look at this discussion @stackoverflow

peter_budo
Code tags enforcer
Moderator
15,791 posts since Dec 2004
Reputation Points: 2,867
Solved Threads: 944
Skill Endorsements: 50
Question Answered as of 1 Year Ago by peter_budo

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.1192 seconds using 2.73MB