{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/232","labels_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/232/comments","events_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/232/events","html_url":"https://github.com/sul-dlss/sul-embed/issues/232","id":57211972,"number":232,"title":"Disable right-click functionality by default","user":{"login":"peetucket","id":47137,"avatar_url":"https://avatars.githubusercontent.com/u/47137?v=3","gravatar_id":"","url":"https://api.github.com/users/peetucket","html_url":"https://github.com/peetucket","followers_url":"https://api.github.com/users/peetucket/followers","following_url":"https://api.github.com/users/peetucket/following{/other_user}","gists_url":"https://api.github.com/users/peetucket/gists{/gist_id}","starred_url":"https://api.github.com/users/peetucket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peetucket/subscriptions","organizations_url":"https://api.github.com/users/peetucket/orgs","repos_url":"https://api.github.com/users/peetucket/repos","events_url":"https://api.github.com/users/peetucket/events{/privacy}","received_events_url":"https://api.github.com/users/peetucket/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-10T18:05:01Z","updated_at":"2015-02-12T19:55:20Z","closed_at":null,"body":"Users should not be able to easily right-click to save an image, since the rights in some cases do not allow this behavior.  Since the entire player requires javascript to function, I believe this can be done via javascript in the iframe:\r\n\r\ndocument.oncontextmenu = function() { \r\n    return false; \r\n};\r\n\r\nThis should not be an optional, otherwise users could embed objects in the own page and request the right-click menu to be enabled.  Alternatively, you could check the rights of the object to decide if right-click should be enabled (download=false disables right-click automatically)."},"comment":{"url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/comments/74140606","html_url":"https://github.com/sul-dlss/sul-embed/issues/232#issuecomment-74140606","issue_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/232","id":74140606,"user":{"login":"peetucket","id":47137,"avatar_url":"https://avatars.githubusercontent.com/u/47137?v=3","gravatar_id":"","url":"https://api.github.com/users/peetucket","html_url":"https://github.com/peetucket","followers_url":"https://api.github.com/users/peetucket/followers","following_url":"https://api.github.com/users/peetucket/following{/other_user}","gists_url":"https://api.github.com/users/peetucket/gists{/gist_id}","starred_url":"https://api.github.com/users/peetucket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peetucket/subscriptions","organizations_url":"https://api.github.com/users/peetucket/orgs","repos_url":"https://api.github.com/users/peetucket/repos","events_url":"https://api.github.com/users/peetucket/events{/privacy}","received_events_url":"https://api.github.com/users/peetucket/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T19:55:20Z","updated_at":"2015-02-12T19:55:20Z","body":"Agreed it is not full-proof, and knowledgeable users can take a screenshot or override the JS, but here is the logic:  Revs content is not supposed to be downloadable at greater than 400 pixels (except Stanford people).  The current player, even when in zoom view, uses tiles, so a right-click save as gives you a tile only.  This inability to easily get high resolution content is a key part of our agreement with them to host their content.  The new player makes it trivial to right-click save-as a very high resolution image without resorting to screen-shots.  This would be unacceptable per our agreement with them.  \r\n\r\nAs a consumer of oembed, we could of course disable it on just the Revs Digital Library website, as you noted above, but it would still be possible on the Revs PURL pages, which are linked to on each Revs page.  It would also continue to make it fairly simple for anyone to embed an object in their own website and then grab the content (though this requires more sophistication).  \r\n\r\nAre their other options we can consider to address this content protection issue? "}}