Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 18th, 2013  |  syntax: None  |  size: 0.54 KB  |  views: 225  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <iframe SRC='http://desistreams.tv/embed/discovery_science.php' width='600' height='470' marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling='no'></iframe>
  2.        
  3. wv.getSettings().setJavaScriptEnabled(true);
  4. wv.getSettings().setBuiltInZoomControls(true);
  5. if (Build.VERSION.SDK_INT < 8) {
  6.     wv.getSettings().setPluginsEnabled(true);
  7. } else {
  8.     wv.getSettings().setPluginState(PluginState.ON);
  9. }
  10.        
  11. Intent intent = new Intent(Intent.ACTION_VIEW);
  12. intent.setDataAndType(Uri.parse(videoPath), "video/mp4");
  13. startActivity(intent);