diff --git a/Mac/English.lproj/MainMenu.xib b/Mac/English.lproj/MainMenu.xib index a64c31f..5a0bacb 100644 --- a/Mac/English.lproj/MainMenu.xib +++ b/Mac/English.lproj/MainMenu.xib @@ -891,7 +891,7 @@ - {{0, 0}, {2560, 1418}} + {{0, 0}, {1920, 1178}} {10000000000000, 10000000000000} bungloo YES @@ -970,7 +970,7 @@ - {{0, 0}, {2560, 1418}} + {{0, 0}, {1920, 1178}} {10000000000000, 10000000000000} mentions YES @@ -1029,7 +1029,7 @@ - {{0, 0}, {2560, 1418}} + {{0, 0}, {1920, 1178}} {10000000000000, 10000000000000} conversation YES @@ -1088,7 +1088,7 @@ - {{0, 0}, {2560, 1418}} + {{0, 0}, {1920, 1178}} {10000000000000, 10000000000000} profile YES @@ -1258,7 +1258,7 @@ _NS:20 - {{0, 0}, {2560, 1418}} + {{0, 0}, {1920, 1178}} {10000000000000, 10000000000000} preferences YES @@ -1350,7 +1350,7 @@ _NS:21 - {{0, 0}, {2560, 1418}} + {{0, 0}, {1920, 1178}} {10000000000000, 10000000000000} NO diff --git a/WebKit/css/default.css b/WebKit/css/default.css index aaef22c..ad31028 100644 --- a/WebKit/css/default.css +++ b/WebKit/css/default.css @@ -345,4 +345,21 @@ header.profile button { header.profile button.following { background: #D84A38; +} + +a.youtube { + position: relative; + display: inline-block; +} + +a.youtube:before { + content: " "; + background: url(../img/play.png) no-repeat; + width: 37px; + height: 24px; + position: absolute; + left: 50%; + top: 50%; + margin-left: -19px; + margin-top: -12px; } \ No newline at end of file diff --git a/WebKit/img/play.png b/WebKit/img/play.png new file mode 100644 index 0000000..85e255a Binary files /dev/null and b/WebKit/img/play.png differ diff --git a/WebKit/scripts/controller/Profile.js b/WebKit/scripts/controller/Profile.js index 623c2dc..972c0e9 100644 --- a/WebKit/scripts/controller/Profile.js +++ b/WebKit/scripts/controller/Profile.js @@ -246,7 +246,6 @@ function(HostApp, Core, Paths, URI) { Profile.prototype.showProfile = function(profile) { var basic = profile["https://tent.io/types/info/basic/v0.1.0"]; - debug(basic) if (profile && basic) { diff --git a/WebKit/scripts/helper/Core.js b/WebKit/scripts/helper/Core.js index 65cd16e..eff5cec 100644 --- a/WebKit/scripts/helper/Core.js +++ b/WebKit/scripts/helper/Core.js @@ -934,19 +934,32 @@ function(jQuery, Paths, URI, HostApp, Cache) { } Core.prototype.addYouTube = function(id, images) { - var iframe = $('