clean up video editor options

This commit is contained in:
rolux 2011-05-24 21:19:27 +02:00
commit 29e58b9c3e
2 changed files with 2 additions and 3 deletions

View file

@ -23,7 +23,7 @@ Ox.load('Geo', function() {
area = Math.sqrt(city.population * 100), area = Math.sqrt(city.population * 100),
latSize = area / Ox.EARTH_CIRCUMFERENCE * 360, latSize = area / Ox.EARTH_CIRCUMFERENCE * 360,
lngSize = area * Ox.getDegreesPerMeter(city.latitude); lngSize = area * Ox.getDegreesPerMeter(city.latitude);
return city.population > 100000/*400000*/ ? { return city.population > 400000/*400000*/ ? {
area: city.population * 100, area: city.population * 100,
countryCode: countryCode, countryCode: countryCode,
editable: true, editable: true,

View file

@ -18,19 +18,18 @@ Ox.VideoEditor = function(options, self) {
cuts: [], cuts: [],
duration: 0, duration: 0,
find: '', find: '',
frameURL: function() {},
fps: 25, fps: 25,
getFrameURL: null, getFrameURL: null,
getLargeTimelineImageURL: null, getLargeTimelineImageURL: null,
getSmallTimelineImageURL: null, getSmallTimelineImageURL: null,
'in': 0, 'in': 0,
height: 0, height: 0,
largeTimeline: true,
layers: [], layers: [],
out: 0, out: 0,
position: 0, position: 0,
posterFrame: 0, posterFrame: 0,
showAnnotations: false, showAnnotations: false,
showLargeTimeline: true,
subtitles: [], subtitles: [],
videoHeight: 0, videoHeight: 0,
videoWidth: 0, videoWidth: 0,