0

I have a JavaScript:

<script type="text/javascript">var c = "Mokslas ir gamta"; </script>
<script>type="text/javascript" src="http://tv.delfi.lt/js/embed.js"></script>
<script>var _delfiVideoX = 680;var _delfiVideoY = 385;var _delfiVideoSalt = "ttdGHNTK";_createDelfiVideo();</script>

Is it possible to stream that FLV video on android? All I could get was static image with video player controls and that's it.

WebView view = (WebView) findViewById(R.id.delfi_vide_wv);
view.getSettings().setJavaScriptEnabled(true);
view.loadData(//script above wrapped in html tags//, "text/html", "utf-8");

Any hint would be appreciated :)

Martynas Jurkus
  • 9,231
  • 13
  • 59
  • 101

1 Answers1

0

I'm not sure if this will work with your javascript method, but there are some examples on FLV out there.

Check out the following article http://www.synesthesia.it/playing-flash-flv-videos-in-android-applications

Also Problem to load flv video in webview may be useful

Community
  • 1
  • 1
Moog
  • 10,193
  • 2
  • 40
  • 66