remove debugging statement, fix youtube phrasing
This commit is contained in:
parent
099e0a6e24
commit
7417dc5923
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue