use chrome frame

This commit is contained in:
j 2010-09-27 18:03:28 +02:00
parent f1ccb72542
commit 91a2579ac6
2 changed files with 3 additions and 2 deletions

View file

@ -95,6 +95,7 @@ MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware',
'oxdjango.middleware.ExceptionMiddleware', 'oxdjango.middleware.ExceptionMiddleware',
'oxdjango.middleware.ChromeFrameMiddleware',
) )
ROOT_URLCONF = 'pandora.urls' ROOT_URLCONF = 'pandora.urls'
@ -129,7 +130,7 @@ AUTH_PROFILE_MODULE = 'oxuser.UserProfile'
VIDEO_PROFILE = '96p' VIDEO_PROFILE = '96p'
VIDEO_DERIVATIVES = [] VIDEO_DERIVATIVES = []
VIDEO_H264 = True VIDEO_H264 = False
#Pad.ma #Pad.ma
#VIDEO_PROFILE = '480p' #VIDEO_PROFILE = '480p'

View file

@ -59,7 +59,7 @@ app.afterLaunch.push(function() {
return null; return null;
return function(result) { return function(result) {
var data = JSON.parse(result); var data = JSON.parse(result);
cb(data) cb(data);
} }
} }
this.api.upload(JSON.stringify(options), this.api.upload(JSON.stringify(options),