usongjie / android-youtube-player

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

MP4 video can not play from SD Card on VideoView in Google TV OS #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My android application's video is working very well in touch devices(e.g. 
Mobile, Tablet).

Now I am working same application made for Google TV OS using existing code 
with modification.

But I seen MP4 video is not playing using my application, and video is play 
using VideoView.

It display message :

    Title : Cannot play video

    Message : Sorry, this video cannot be played

Even same code is working in other android devices(e.g. Mobile, Tablet)

When I play same video from SD card then it play very well in built in Google 
TV video player.

Log information :

W/MediaPlayer(1164): info/warning (1, 0)
I/MediaPlayer(1164): Info (1,0)
E/MediaPlayer(1164): error (14, 0)
E/MediaPlayer(1164): Error (14,0)
D/VideoView(1164): Error: 14,0

My MP4 video is working in one odd scenario When my any one application is 
running and my application is front of that app then video is running fine but 
no any application running at at time my video is not running and above Error 
is comes

Original issue reported on code.google.com by palak.j...@gmail.com on 4 Oct 2013 at 11:32

Attachments: