summaryrefslogtreecommitdiff
path: root/js/video.js
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-02-16 18:58:09 +0000
committerZach Copley <zach@controlyourself.ca>2009-02-16 18:58:09 +0000
commit14e3a2ffb602b157b74085188c9bfda41f79b9e8 (patch)
treef2b4fe4515a473ba5a4c83484f8de75e21b6786d /js/video.js
parent1af6423738ab702b39f81746e0ff2aeeacb4fea4 (diff)
parent9c9b6790ce78296c0b182f03b5f6f2c035e43a7c (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
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;
+ });
+});
+