mardi 9 août 2016

Android webview video rendering

here is my code to play video from an embed code

String playVideo= "<html><body><iframe SRC='http://ift.tt/1EpOjDY' width='300' height='200' id=www.Newtvworld.com marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0></iframe></body></html>";

code is running alright but video is not changing according to size,if i gave original size of video i have to scroll to get full video screen,if i give less size then portion of video is displaying any idea how to make screen fit for every device

Moreover is there a way to play embed code other than webView if so,please provide me with an example

thanx in advance




Aucun commentaire:

Enregistrer un commentaire