summaryrefslogtreecommitdiff
path: root/js/video.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/video.js')
-rw-r--r--js/video.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/video.js b/js/video.js
new file mode 100644
index 000000000..936a6312e
--- /dev/null
+++ b/js/video.js
@@ -0,0 +1,9 @@
+$('document').ready(function() {
+ $('a.media, a.mediamp3').append(' <sup>[PLAY]</sup>');
+ $('a.mediamp3').html('').css('display', 'block').css('width', '224px').css('height','24px').flowplayer('../bin/flowplayer-3.0.5.swf');
+ $('a.media').click(function() {
+ $('<a id="p1i"></a>').attr('href', $(this).attr('href')).flowplayer('../bin/flowplayer-3.0.5.swf').modal({'closeHTML':'<a class="modalCloseImg" title="Close"><img src="x.png" /></a>'});
+ return false;
+ });
+});
+