From 0e414acfdab1e4caad99b13c31c960e95f3ed64f Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Wed, 21 Dec 2016 17:15:41 -0800 Subject: [PATCH] setup: remove pyamf as default dep for now --- pywb/static/vidrw.js | 5 ++++- setup.py | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pywb/static/vidrw.js b/pywb/static/vidrw.js index 2726b13b..43f9014e 100644 --- a/pywb/static/vidrw.js +++ b/pywb/static/vidrw.js @@ -278,8 +278,11 @@ __wbvidrw = (function() { if (player) { _pywb_yt_err = function() { - do_yt_video_replace(player_div); + console.log("yt onError"); + console.log(arguments); + //do_yt_video_replace(player_div); } + player.addEventListener("onStateChange", function() { console.log("yt stateChange"); }); player.addEventListener("onError", "_pywb_yt_err"); } diff --git a/setup.py b/setup.py index 8e31c7b4..c2006778 100755 --- a/setup.py +++ b/setup.py @@ -87,11 +87,11 @@ setup( 'webencodings', 'gevent==1.1.2', 'webassets==0.12.0', - 'pyamf' + #'pyamf' ], dependency_links=[ 'git+https://github.com/ikreymer/webassets.git@pyinstaller#egg=webassets-0.12.0', - 'git+https://github.com/t0m/pyamf.git@python3#egg=pyamf-0.8.0' + #'git+https://github.com/t0m/pyamf.git@python3#egg=pyamf-0.8.0' ], tests_require=[ 'pytest',