Skip to content

Instantly share code, notes, and snippets.

@himalay
Forked from FokkeZB/app.js
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save himalay/e2d07cc06faeefb29682 to your computer and use it in GitHub Desktop.

Select an option

Save himalay/e2d07cc06faeefb29682 to your computer and use it in GitHub Desktop.

Revisions

  1. @FokkeZB FokkeZB renamed this gist Apr 10, 2013. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions gistfile1.js → app.js
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,13 @@
    var myWebView = Ti.UI.createWebView({
    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();
  2. @FokkeZB FokkeZB created this gist Apr 10, 2013.
    7 changes: 7 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    var myWebView = 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
    });