Carloscancino / android-youtube-player

Automatically exported from code.google.com/p/android-youtube-player
0 stars 0 forks source link

Cannot play video Sorry, this video cannot be played shown always when streaming video from youtube #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. stream youtube video using this player

What is the expected output? What do you see instead?
video must be worked properly, but i see instead of this [Cannot play video 
Sorry, this video cannot be played] message.

*also note that before 2 days videos was streamed from youtube without any 
problem this issue happened just from 09/28/2012.

What version of the product are you using? On what operating system?
android 2.2

Please provide any additional information below.
following is logcat:
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): HandleInformationalEvent: 
PVMFInfoErrorHandlingStart
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): HandleInformationalEvent: 
type=26 UNHANDLED
09-30 14:31:06.610: WARN/MediaPlayer(12180): info/warning (1, 26)
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): CommandCompleted
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): Completed command PLAYER_INIT 
status=PVMFFailure
09-30 14:31:06.610: ERROR/PlayerDriver(1280): Command PLAYER_INIT completed 
with an error or info PVMFFailure, -1
09-30 14:31:06.610: ERROR/MediaPlayer(12180): error (1, -1)
09-30 14:31:06.610: VERBOSE/PVPlayer(1280): run_set_video_surface 
s=-2147483648, cancelled=0
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): HandleInformationalEvent: 
PVMFInfoErrorHandlingComplete
09-30 14:31:06.610: WARN/PlayerDriver(1280): PVMFInfoErrorHandlingComplete

Original issue reported on code.google.com by a.alnam...@gmail.com on 29 Sep 2012 at 11:10

GoogleCodeExporter commented 8 years ago
hello,
this issue fixed based on fix on previous issue as following:

VideoStream.java (Line: 30)
before: mUrl = lArgMap.get("url");
after:  mUrl = lArgMap.get("url") + "&signature=" + lArgMap.get("sig");

Thanks,
Ahmad

Original comment by a.alnam...@gmail.com on 29 Sep 2012 at 3:22

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i did this modification in the VedieoStream.java, but i still get the same 
message "Sorry, this video cannot be palyed"

also in the eclipse - LogCat, i had the error (1,-1004).

Any advice?

Original comment by Apps...@gmail.com on 23 Apr 2013 at 4:41