From: Daniel Hodgin Date: Thu, 1 Jul 2010 20:43:11 +0000 (-0400) Subject: attribution nameofworkurl and copyrightholderurl attributes X-Git-Tag: v0.1~56 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c3224737b18232013dda65788f3267a3cec46878;p=popcorn-js.git attribution nameofworkurl and copyrightholderurl attributes --- diff --git a/popcorn.js b/popcorn.js index 82da292..e64a094 100644 --- a/popcorn.js +++ b/popcorn.js @@ -555,12 +555,25 @@ VideoCommand.call(this, name, params, text, videoManager); var attribution = ""; var image = ""; + + if ( this.params.nameofworkurl ) { + attribution += ""; + } if ( this.params.nameofwork ) { attribution += this.params.nameofwork; } + if ( this.params.nameofworkurl ) { + attribution += ""; + } + if ( this.params.copyrightholderurl ) { + attribution += ""; + } if ( this.params.copyrightholder ) { attribution += ", " + this.params.copyrightholder; } + if ( this.params.copyrightholderurl ) { + attribution += ""; + } if ( this.params.license ) { if ( this.params.license.toUpperCase() === "CC-BY" ) { image = ""; diff --git a/xml/webMadeMovies.xml b/xml/webMadeMovies.xml index 7786fc5..fce7391 100644 --- a/xml/webMadeMovies.xml +++ b/xml/webMadeMovies.xml @@ -31,7 +31,7 @@ - +