add matchRatio embed option

This commit is contained in:
rolux 2013-02-20 14:27:12 +05:30
parent d23f145a7d
commit 007608ef5f

View file

@ -1051,11 +1051,12 @@ pandora.logEvent = function(data, event, element) {
pandora.normalizeHashQuery = function(state) { pandora.normalizeHashQuery = function(state) {
var embedKeys = [ var embedKeys = [
'annotationsFont', 'annotationsRange', 'annotationsSort', 'annotationsFont', 'annotationsRange', 'annotationsSort',
'embed', 'height', 'embed',
'ignoreRights', 'invertHighlight', 'ignoreRights', 'invertHighlight',
'matchRatio',
'paused', 'playInToOut', 'paused', 'playInToOut',
'showAnnotations', 'showCloseButton', 'showLayers', 'showTimeline', 'showAnnotations', 'showCloseButton', 'showLayers', 'showTimeline',
'title', 'width' 'title'
], ],
isEmbed = state.hash && state.hash.query isEmbed = state.hash && state.hash.query
&& Ox.indexOf(state.hash.query, function(condition) { && Ox.indexOf(state.hash.query, function(condition) {