By vishnuptr
on Fri, 07/11/2014 - 16:38
// This example shows how to load the movie from the // assets folder of the app // However, if you would like to load the movie from the // sdcard or from a network location // simply comment the three lines below //AssetFileDescriptor afd = mParentActivity.getAssets() // .openFd(filename); //mMediaPlayer.setDataSource(afd.getFileDescriptor(), // afd.getStartOffset(), afd.getLength()); // afd.close(); // and uncomment this one // mMediaPlayer.setDataSource("/sdcard/myMovie.m4v"); Uri videolink = Uri.parse("https://drive.google.com/file/d/0BxCH9Eymd1C3ejFzZUFlWm5PdWs/edit?usp=sharing"); mMediaPlayer.setDataSource(mParentActivity,videolink);
Hey, I am also trying to
Hey, I am also trying to display video hosted on google drive in videoplayback app.
Did exact same settings, but when I launch my app, it first keeps hourglass for sometime, and then changes to cross, meaning video isnt available to play.
Any help regarding this problem?
Hey, I am also trying to
Hey, I am also trying to display video hosted on google drive in videoplayback app.
Did exact same settings, but when I launch my app, it first keeps hourglass for sometime, and then changes to cross, meaning video isnt available to play.
Any help regarding this problem?
you like to play youtube or
you like to play youtube or link ?