Webview with video

Asked

Viewed 295 times

0

Opa galera good afternoon, I’m lately dealing with webviews, I was looking on the net for a way to run videos of the site type urls, which has a post and this post has a video, I did a search and saw this :

 webview.getSettings().setJavaScriptEnabled(true);
    webview.setWebChromeClient(new WebChromeClient());
    webview.getSettings().setPluginState(WebSettings.PluginState.ON);

he arrow in webview a Chrome client and so runs the video of a link for example...

I wanted to know how to implement a better player in the application, I know it involves more than webview but so far not found

https://play.google.com/store/apps/details?id=com.studiosol.player.letras

this link above is from the Lyrics app in it you can see the lyrics and videos of the songs, I wanted something to bring me this [video player] that this app uses, I believe it can be an API, but I can t talk silly, in it has the resolution options of video like HD or FULL HD, below has prints that show what I mean ,whoever has a tutorial on how to do something like this will help me and a lot... inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • no no, I think I wrote in an incorrect way, I’ll put some images in the post so you can understand better...

  • @Guilhermenascimento I wanted only the next player ...

  • I’ll explain calmly, I just posted the prints, this lyrics APP is a music app, it has this youtube video player, what I want to know is how to implement this type of player within a WEBVIEW the app is just to have an example, I have nothing to do with this app, let alone want to make an Intent with Lyrics app...

  • Yes I think I understand, but it’s just that you mentioned extra things, so I’m trying to see what the requirements are, in a way I think it’s possible (even I was reading about this a few days ago), I just wanted to see what the needs are, For if I answer with a minimal example, there may be other needs, and I will have rework to edit the answer. Leave the question like this, I will try to formulate an example, I have not tried, but from what I have read at least it is possible to use fullscreen.

1 answer

0


Browser other questions tagged

You are not signed in. Login or sign up in order to post.