AutoplayVideos icon indicating copy to clipboard operation
AutoplayVideos copied to clipboard

Using this video view in activity instead of complete recyclerview?

Open chnouman opened this issue 8 years ago • 3 comments

I'm trying to use this video view to play my own video but having no success i have tried this code

private void initVideoViews() {
       tv = findViewById(R.id.tv);
       img_vol = findViewById( R.id.img_vol);
       img_playback = findViewById( R.id.img_playback);
       aah_vi = (AAH_VideoImage) findViewById(R.id.video_player);

       setImageUrl("https://pre00.deviantart.net/7a94/th/pre/i/2015/143/a/0/this_is_da_boomb__by_reptonic-d8uispv.png");
       setVideoUrl("https://raw.githubusercontent.com/danikula/AndroidVideoCache/master/files/orange1.mp4");
       Picasso.with(ImageDetailActivity.this).
               load("https://pre00.deviantart.net/7a94/th/pre/i/2015/143/a/0/this_is_da_boomb__by_reptonic-d8uispv.png").config(Bitmap.Config.RGB_565).
               into(aah_vi.getImageView());


       setLooping(true);
       playVideo();



   }

chnouman avatar Feb 12 '18 15:02 chnouman

Did you find the answer Sir ?

anonym2 avatar Apr 05 '18 20:04 anonym2

@anonym2 buddy instead of this i'm using another videoview this was not ful filling my requirement.

chnouman avatar Apr 06 '18 13:04 chnouman

@anonym2 buddy instead of this i'm using another videoview this was not ful filling my requirement.

Hey man, what library are you using?

emailsubjekt avatar Feb 09 '19 09:02 emailsubjekt