Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Use webview to play video on Android

My question is here: http://pastie.org/1316961

— asked November 22nd 2010 by aloha stitch
  • android
  • webview
0 Comments

1 Answer

  • you are not using the proper HTML5 tag, take a look at this posting

    this code should work for you

    <video id="video" autobuffer height="240" width="360">
    <source src="'"+entryVideo+"'">
    </video>
    
    var video = document.getElementById('video');
    video.addEventListener('click',function(){
      document.play();
    },false);
    
    — answered November 22nd 2010 by Aaron Saunders
    permalink
    1 Comment
    • I quite love you right now.

      — commented November 23rd 2010 by Colton Arabsky
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.