Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Sep 27, 2009
1 parent 5c5f4fc commit a9f28a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/static/js/remedie.js
Expand Up @@ -604,8 +604,8 @@ Remedie.prototype = {
}

// Hack: this should really be done in the upgrade() in Perl side
if (url.match(/youtube\.com/))
url += "&hd=1";
if (url.match(/youtube\.com/) && player == 'Web')
item.props.embed.url += "&hd=1";

if (player == 'Web') {
if (item.props.embed.script) {
Expand Down

0 comments on commit a9f28a9

Please sign in to comment.