--- a/src/pyams_media/skin/__init__.py Tue Nov 15 10:01:50 2016 +0100
+++ b/src/pyams_media/skin/__init__.py Tue May 16 11:15:35 2017 +0200
@@ -18,7 +18,18 @@
# import interfaces
# import packages
-from fanstatic import Library
+from fanstatic import Library, Resource
library = Library('pyams_media', 'resources')
+
+flowplayer = Resource(library, 'flowplayer/flowplayer.js',
+ minified='flowplayer/flowplayer.min.js',
+ bottom=True)
+
+functional_css = Resource(library, 'flowplayer/skin/functional.css',
+ minified='flowplayer/skin/functional.min.css')
+
+pyams_media = Resource(library, 'js/pyams_media.js',
+ minified='js/pyams_media.min.js',
+ bottom=True)
--- a/src/pyams_media/skin/resources/js/pyams_media.js Tue Nov 15 10:01:50 2016 +0100
+++ b/src/pyams_media/skin/resources/js/pyams_media.js Tue May 16 11:15:35 2017 +0200
@@ -51,7 +51,6 @@
player.shutdown();
}
};
-
globals.PyAMS_media = PyAMS_media;
})(jQuery, this);