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
// | |
// tiVimeo.js | |
// | |
// Created by Coyote on 2014-10-08. | |
// Copyright 2014 Coyote. All rights reserved. | |
// | |
var VimeoVideo = function(id, callback) { | |
var client = Ti.Network.createHTTPClient(); | |
client.onload = function(response) { |
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
// | |
// tiYoutube.js | |
// | |
// Created by Coyote on 2014-10-07. | |
// Copyright 2014 Coyote. All rights reserved. | |
// | |
var YoutubeVideo = function(id, callback) { | |
var client = Ti.Network.createHTTPClient(); | |
client.onload = function(video_info) { | |
Ti.API.debug('on load'); |