diff options
author | Meitar Moscovitz <meitarm@gmail.com> | 2009-02-18 13:01:52 +1100 |
---|---|---|
committer | Meitar Moscovitz <meitarm@gmail.com> | 2009-02-18 13:01:52 +1100 |
commit | cca1d777485d9b5f41bbc65ad10b002702f0aae4 (patch) | |
tree | 1a498462a0d98d4f89a55f548099abd5401dc538 /js/video.js | |
parent | 9d81cef5cc2a0a197a0223206ba3d9a687065886 (diff) | |
parent | 6fb3923cef0699a05b336f35505637485f16157e (diff) |
Merge branch 'dev-0.7.x' into framebusting
Conflicts:
lib/action.php
Diffstat (limited to 'js/video.js')
-rw-r--r-- | js/video.js | 9 |
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; + }); +}); + |