remove debugging statement, fix youtube phrasing

This commit is contained in:
Dan Hansen 2011-01-29 16:41:28 -06:00
parent 099e0a6e24
commit 7417dc5923

View file

@ -57,9 +57,9 @@
Embedder.prototype.registerServices = function() {
var watchVideoOn = Diaspora.widgets.i18n.t("videos.watch");
console.log(watchVideoOn);
this.register("youtube.com",
'<a href="//www.youtube.com/watch?v={{video-id}}" target="_blank">' + $.mustache(watchVideoOn, { provider: "YouTube" }) + 'Youtube</a><br />' +
'<a href="//www.youtube.com/watch?v={{video-id}}" target="_blank">' + $.mustache(watchVideoOn, { provider: "YouTube" }) + '</a><br />' +
'<iframe class="youtube-player" type="text/html" src="http://www.youtube.com/embed/{{video-id}}"></iframe>');
this.register("vimeo.com",