- 
      
- 
        Save himalay/e2d07cc06faeefb29682 to your computer and use it in GitHub Desktop. 
     Code Revisions 2 Stars 8 Forks 1 Embed URL HTTPS clone URL You can clone with HTTPS or SSH. Embedding a YouTube video in Titanium
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var win = Ti.UI.createWindow(); | |
| var webView = Ti.UI.createWebView({ | |
| url: 'http://www.youtube.com/embed/' + myVideoID + '?autoplay=1&autohide=1&cc_load_policy=0&color=white&controls=0&fs=0&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0', | |
| enableZoomControls: false, | |
| scalesPageToFit: false, | |
| scrollsToTop: false, | |
| showScrollbars: false | |
| }); | |
| win.add(webView); | |
| win.open(); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment