Skip to content

Instantly share code, notes, and snippets.

View ademahendra's full-sized avatar
💻
Working from home

Ade Mahendra ademahendra

💻
Working from home
View GitHub Profile
@ademahendra
ademahendra / TiYoutube.js
Last active December 27, 2015 16:39 — forked from 19h/TiYoutube.js
Titanium.App.addEventListener("playvideo", function (e) {
win11 = Titanium.UI.createWindow({
orientationModes: [Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT],
title: "Video",
zIndex: 222222
});
var activeMovie = Titanium.Media.createVideoPlayer({
fullscreen: !0,
autoplay: !0,