Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
All code un-minified
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioramos committed Aug 23, 2011
1 parent 5a1d653 commit b17fe84
Show file tree
Hide file tree
Showing 62 changed files with 1,310 additions and 0 deletions.
10 changes: 10 additions & 0 deletions appinfo.json
@@ -0,0 +1,10 @@
{
"id": "me.sergioramos.twitplayer",
"version": "0.1.0",
"vendor": "Sérgio Ramos",
"type": "web",
"main": "index.html",
"title": "TWiT Player",
"icon": "icon.png",
"uiRevision": 2
}
117 changes: 117 additions & 0 deletions css/avis.css
@@ -0,0 +1,117 @@
.enyo-bg, body {background-image: url(../images/bg.png);}
.progressBar {margin: 20px;}
.loadingData {color: darkGray;}
.loadingString {margin-left: 20px;color: darkgray;}

.showItem {
padding: 0px;
padding-top: 7px;
border: none;
}

.showsListContainer {
padding-top: 6px;
padding-bottom: 7px;
}

.showItem img {padding: 3px;}
.episodeTitle, #avis_episodesList_showName {font-family: "Lucida Grande", Lucida, Verdana, sans-serif;}

.episodeTitle {
color: #1b1d1d;
font-size: medium;
}

#avis_video_episodeTitle, #avis_episodesList_showName {text-align: center;}
#avis_episodesList_showName, #avis_video_episodeTitle {
color: black;
font-size: large;
margin-top: 5px;
margin-bottom: 5px;
}

#avis_episodesList_list_list_client::first-child {border: none;}

#avis_episodesList_header_client, #avis_video_header_client {
padding: 0px 10px 0px 0px;
min-height: 52px;
}

#avis_slidingView2, #avis_slidingView2_client, #avis_episodesList {background-color: #d8d8d8;}

#avis_video_radioGroup {
margin-top: 3px;
margin-right: 0px;
margin-left: 15px;
}

#avis_video_grabButton, #avis_episodesList_grabButton {position: relative;}

.playerControl .enyo-button.pause,
.playerControl .enyo-button.play {
-webkit-border-image:none;
width: 56px;
height: 56px;
background:url(../images/playpause.png) no-repeat 0 0;
-webkit-border-image:0;
margin: 0px 13px 0px 0px;
padding: 0px;
}

.playerControl .enyo-button-down.play {background-position:0 -56px;}
.playerControl .enyo-button.pause {background-position:-56px 0}
.playerControl .enyo-button-down.pause {background-position:-56px -56px}
.currentTime, .duration {font-size: 12px;
}

.currentTime {margin-right: 5px;
text-align: right;
}

.duration {margin-left: 5px;
text-align: left;
}

.progress {
margin: 13px;
}

.playerControl .enyo-slider-button.enyo-button-down {
background-position:0 0;
-webkit-border-image:none;
}

.playerControl .enyo-slider-button {
background:url(../images/bg_progress-bar-control.png) no-repeat 0 -26px;
height:26px;
width:26px;
margin:-4px -14px;
}

.playerControl .enyo-progress-slider-alt-bar, .playerControl .enyo-progress-bar-inner {
-webkit-border-image:url(../images/bg_progress-bar-inner.png) 0 8 repeat;
border-width:0 8px;
height:16px;
margin: 1px -8px
}

.playerControl .enyo-progress-bar {
-webkit-border-image:url(../images/bg_progress-bar.png) 0 9 repeat;
border-width:0 9px;
height:18px;
}

.playerControl .enyo-progressslider-progress {
height:18px;
margin:0;
}

#avis_video_radioButton, #avis_video_radioButton2, #avis_video_radioButton3 {
padding-top: 9px;
padding-bottom: 5px;
}

.enyo-progress-button {
background-color: #4b4e4e;
}

218 changes: 218 additions & 0 deletions data/shows.json
@@ -0,0 +1,218 @@
[
{
"title": "TWiT",
"name": "This Week in Tech",
"video_url": "http://feeds.twit.tv/twit_video_large",
"audio_url": "http://leoville.tv/podcasts/twit.xml",
"audio": [],
"video": [],
"favicon": "images/shows/twit.jpg"
},
{
"title": "Tech News Today",
"name": "Tech News Today",
"video_url": "http://feeds.twit.tv/tnt_video_large",
"audio_url": "http://leoville.tv/podcasts/tnt.xml",
"audio": [],
"video": [],
"favicon": "images/shows/tnt.jpg"
},
{
"title": "Ham Nation",
"name": "Ham Nation",
"video_url": "http://feeds.twit.tv/hn_video_large",
"audio_url": "http://leoville.tv/podcasts/hn.xml",
"audio": [],
"video": [],
"favicon": "images/shows/hn.jpg"
},
{
"title": "iPad Today",
"name": "iPad Today",
"video_url": "http://feeds.twit.tv/ipad_video_large",
"audio_url": "http://leoville.tv/podcasts/ipad.xml",
"audio": [],
"video": [],
"favicon":"images/shows/ipad.jpg"
},
{
"title": "Green Tech Today",
"name": "Green Tech Today",
"video_url": "http://feeds.twit.tv/gtt_video_large",
"audio_url": "http://leoville.tv/podcasts/gtt.xml",
"audio": [],
"video": [],
"favicon": "images/shows/gtt.jpg"
},
{
"title": "This Week In Google",
"name": "This Week In Google",
"video_url": "http://feeds.twit.tv/twig_video_large",
"audio_url": "http://leoville.tv/podcasts/twig.xml",
"audio": [],
"video": [],
"favicon": "images/shows/twig.jpg"
},
{
"title": "Windows Weekly",
"name": "Windows Weekly",
"video_url": "http://feeds.twit.tv/ww_video_large",
"audio_url": "http://leoville.tv/podcasts/ww.xml",
"audio": [],
"video": [],
"favicon": "images/shows/ww.jpg"
},
{
"title": "MacBreak Weekly",
"name": "MacBreak Weekly",
"video_url": "http://feeds.twit.tv/mbw_video_large",
"audio_url": "http://leoville.tv/podcasts/mbw.xml",
"audio": [],
"video": [],
"favicon": "images/shows/mbw.jpg"
},
{
"title": "Triangulation",
"name": "Triangulation",
"video_url": "http://feeds.twit.tv/tri_video_large",
"audio_url": "http://leoville.tv/podcasts/tri.xml",
"audio": [],
"video": [],
"favicon": "images/shows/tri.jpg"
},
{
"title": "TWiT Photo",
"name": "TWiT Photo",
"video_url": "http://feeds.twit.tv/photo_video_large",
"audio_url": "http://leoville.tv/podcasts/photo.xml",
"audio": [],
"video": [],
"favicon": "images/shows/photo.jpg"
},
{
"title": "FourCast",
"name": "FourCast",
"video_url": "http://feeds.twit.tv/fc_video_large",
"audio_url": "http://leoville.tv/podcasts/fc.xml",
"audio": [],
"video": [],
"favicon": "images/shows/fc.jpg"
},
{
"title": "Leo Laporte - The Tech Guy",
"name": "The Tech Guy",
"video_url": "http://feeds.twit.tv/ttg_video_large",
"audio_url": "http://leoville.tv/podcasts/ttg.xml",
"audio": [],
"video": [],
"favicon": "images/shows/techguy.jpg"
},
{
"title": "All About Android",
"name": "All About Android",
"video_url": "http://feeds.twit.tv/aaa_video_large",
"audio_url": "http://leoville.tv/podcasts/aaa.xml",
"audio": [],
"video": [],
"favicon": "images/shows/aaa.jpg"
},
{
"title": "Security Now",
"name": "Security Now",
"video_url": "http://feeds.twit.tv/sn_video_large",
"audio_url": "http://leoville.tv/podcasts/sn.xml",
"audio": [],
"video": [],
"favicon": "images/shows/sn.jpg"
},
{
"title": "Weekly Daily Giz Wiz",
"name": "Weekly Daily Giz Wiz",
"video_url": "http://feeds.twit.tv/dgw_video_large",
"audio_url": "http://leoville.tv/podcasts/dgw.xml",
"audio": [],
"video": [],
"favicon": "images/shows/wgw.jpg"
},
{
"title": "NSFW",
"name": "NSFW",
"video_url": "http://feeds.twit.tv/nsfw_video_large",
"audio_url": "http://leoville.tv/podcasts/nsfw.xml",
"audio": [],
"video": [],
"favicon": "images/shows/nsfw.jpg"
},
{
"title": "Frame Rate",
"name": "Frame Rate",
"video_url": "http://feeds.twit.tv/fr_video_large",
"audio_url": "http://leoville.tv/podcasts/fr.xml",
"audio": [],
"video": [],
"favicon": "images/shows/fr.jpg"
},
{
"title": "Home Theater Geeks",
"name": "Home Theater Geeks",
"video_url": "http://feeds.twit.tv/htg_video_large",
"audio_url": "http://leoville.tv/podcasts/htg.xml",
"audio": [],
"video": [],
"favicon": "images/shows/htg.jpg"
},
{
"title": "This Week in Computer Hardware",
"name": "TWiCH",
"video_url": "http://feeds.twit.tv/twich_video_large",
"audio_url": "http://leoville.tv/podcasts/twich.xml",
"audio": [],
"video": [],
"favicon": "images/shows/twich.jpg"
},
{
"title": "FLOSS Weekly",
"name": "FLOSS Weekly",
"video_url": "http://feeds.twit.tv/floss_video_large",
"audio_url": "http://leoville.tv/podcasts/floss.xml",
"audio": [],
"video": [],
"favicon": "images/shows/fw.jpg"
},
{
"title": "TWiL",
"name": "This Week in Law",
"video_url": "http://feeds.twit.tv/twil_video_large",
"audio_url": "http://leoville.tv/podcasts/twil.xml",
"audio": [],
"video": [],
"favicon": "images/shows/twil.jpg"
},
{
"title": "TWiT Live Specials",
"name": "TWiT Live Specials",
"video_url": "http://feeds.twit.tv/specials_video_large",
"audio_url": "http://leo.am/podcasts/fib",
"audio": [],
"video": [],
"favicon": "images/shows/tlspecials.jpg"
},
{
"title": "The Social Hour",
"name": "The Social Hour",
"video_url": "http://feeds.twit.tv/natn_video_large",
"audio_url": "http://leoville.tv/podcasts/itn.xml",
"audio": [],
"video": [],
"favicon": "images/shows/socialhour.jpg"
},
{
"title": "Current Geek Weekly",
"name": "Current Geek Weekly",
"video_url": "http://feeds.twit.tv/cgw_video_large",
"audio_url": "http://leoville.tv/podcasts/cgw.xml",
"audio": [],
"video": [],
"favicon": "images/shows/cgw.jpg"
}
]
10 changes: 10 additions & 0 deletions depends.js
@@ -0,0 +1,10 @@
enyo.depends(
"source/avis.js",
"source/shows.js",
"source/episodes.js",
"source/controls.js",
"source/video.js",
"source/rss.js",
"libs/xml2json.js",
"css/avis.css"
);
Binary file added icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/audio.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/audio_down.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg_controls.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg_progress-bar-control.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg_progress-bar-inner.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bg_progress-bar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/btn_controls_fullscreen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/btn_fullscreen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/grab.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hd.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hd_down.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/playpause.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/sd.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/sd_down.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/aaa.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/abby.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/cgw.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/drkikish.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/fc.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/fib.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/fr.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/fw.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/gtt.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/hn.jpg
Binary file added images/shows/htg.jpg
Binary file added images/shows/ipad.jpg
Binary file added images/shows/mbw.jpg
Binary file added images/shows/mc.jpg
Binary file added images/shows/mh.jpg
Binary file added images/shows/mphoto.jpg
Binary file added images/shows/nsfw.jpg
Binary file added images/shows/photo.jpg
Binary file added images/shows/rrtp.jpg
Binary file added images/shows/sn.jpg
Binary file added images/shows/socialhour.jpg
Binary file added images/shows/t.jpg
Binary file added images/shows/techguy.jpg
Binary file added images/shows/tlspecials.jpg
Binary file added images/shows/tnt.jpg
Binary file added images/shows/tri.jpg
Binary file added images/shows/twich.jpg
Binary file added images/shows/twif.jpg
Binary file added images/shows/twig.jpg
Binary file added images/shows/twil.jpg
Binary file added images/shows/twit.jpg
Binary file added images/shows/wgw.jpg
Binary file added images/shows/ww.jpg
Binary file added images/spinner-large.png
12 changes: 12 additions & 0 deletions index.html
@@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<title>TWiT Player</title>
<script src="/opt/PalmSDK/Current/share/refcode/framework/enyo/1.0/framework/enyo.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
new avis().renderInto(document.body);
</script>
</body>
</html>

0 comments on commit b17fe84

Please sign in to comment.