forked from 0x2620/pandora
add matchRatio embed option
This commit is contained in:
parent
d23f145a7d
commit
007608ef5f
1 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue