forked from 0x2620/oxjs
use Ox.Log
This commit is contained in:
parent
92d25b6776
commit
dce2843303
50 changed files with 276 additions and 276 deletions
|
|
@ -307,7 +307,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
|
||||
self.resolutions = [];
|
||||
Ox.forEach(self.options.video, function(url, resolution) {
|
||||
Ox.print(url, resolution)
|
||||
Ox.Log('Video', url, resolution)
|
||||
self.resolutions.push(
|
||||
{id: resolution + '', title: resolution + 'p'}
|
||||
);
|
||||
|
|
@ -769,7 +769,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
}
|
||||
|
||||
function getSizes(scrollbarIsVisible) {
|
||||
//Ox.print('getSizes', scrollbarIsVisible)
|
||||
//Ox.Log('Video', 'getSizes', scrollbarIsVisible)
|
||||
var scrollbarWidth = Ox.UI.SCROLLBAR_SIZE,
|
||||
contentWidth = self.options.width
|
||||
- (self.options.showAnnotations * self.options.annotationsSize) - 1
|
||||
|
|
@ -829,7 +829,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
self.$editor.css({
|
||||
overflowY: (scrollbarIsVisible && height <= self.options.height - 16) ? 'scroll' : 'auto'
|
||||
});
|
||||
//Ox.print('getSizes', scrollbarIsVisible, height, self.options.height, size)
|
||||
//Ox.Log('Video', 'getSizes', scrollbarIsVisible, height, self.options.height, size)
|
||||
return (!scrollbarIsVisible && height > self.options.height - 16) ? getSizes(true) : size;
|
||||
function getHeight() {
|
||||
return size.player[0].height + self.controlsHeight +
|
||||
|
|
@ -1022,7 +1022,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
|
||||
self.setOption = function(key, value) {
|
||||
if (key == 'width' || key == 'height') {
|
||||
Ox.print('XXXX setSizes', key, value, self.options.width, self.options.height)
|
||||
Ox.Log('Video', 'XXXX setSizes', key, value, self.options.width, self.options.height)
|
||||
setSizes();
|
||||
} else if (key == 'position') {
|
||||
setPosition(value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue