summaryrefslogtreecommitdiff
path: root/js/video.js
diff options
context:
space:
mode:
authorMeitar Moscovitz <meitarm@gmail.com>2009-02-18 13:01:52 +1100
committerMeitar Moscovitz <meitarm@gmail.com>2009-02-18 13:01:52 +1100
commitcca1d777485d9b5f41bbc65ad10b002702f0aae4 (patch)
tree1a498462a0d98d4f89a55f548099abd5401dc538 /js/video.js
parent9d81cef5cc2a0a197a0223206ba3d9a687065886 (diff)
parent6fb3923cef0699a05b336f35505637485f16157e (diff)
Merge branch 'dev-0.7.x' into framebusting
Conflicts: lib/action.php
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;
+ });
+});
+