From 91a2579ac62b4a4e9950e8bb7671b8e464859826 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 27 Sep 2010 18:03:28 +0200 Subject: [PATCH] use chrome frame --- pandora/settings.py | 3 ++- pandora/static/js/pandora.local.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pandora/settings.py b/pandora/settings.py index 1fa86d8..6b5c966 100644 --- a/pandora/settings.py +++ b/pandora/settings.py @@ -95,6 +95,7 @@ MIDDLEWARE_CLASSES = ( 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'oxdjango.middleware.ExceptionMiddleware', + 'oxdjango.middleware.ChromeFrameMiddleware', ) ROOT_URLCONF = 'pandora.urls' @@ -129,7 +130,7 @@ AUTH_PROFILE_MODULE = 'oxuser.UserProfile' VIDEO_PROFILE = '96p' VIDEO_DERIVATIVES = [] -VIDEO_H264 = True +VIDEO_H264 = False #Pad.ma #VIDEO_PROFILE = '480p' diff --git a/pandora/static/js/pandora.local.js b/pandora/static/js/pandora.local.js index c5739c0..20cc2c2 100644 --- a/pandora/static/js/pandora.local.js +++ b/pandora/static/js/pandora.local.js @@ -59,7 +59,7 @@ app.afterLaunch.push(function() { return null; return function(result) { var data = JSON.parse(result); - cb(data) + cb(data); } } this.api.upload(JSON.stringify(options),