diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-03 17:53:05 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-03 17:53:05 +0000 |
commit | 4766f36a4d74924f21ff329c4318ce4e069ffa04 (patch) | |
tree | 969b84632f2a8b0db79788a8a6db8e41d63e5cb4 /mod/zaudio/views/default/file/specialcontent | |
parent | 57a217fd6b708844407486046a1faa23b46cac08 (diff) | |
download | elgg-4766f36a4d74924f21ff329c4318ce4e069ffa04.tar.gz elgg-4766f36a4d74924f21ff329c4318ce4e069ffa04.tar.bz2 |
Pulled in the interface changes.
git-svn-id: http://code.elgg.org/elgg/trunk@5257 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/zaudio/views/default/file/specialcontent')
3 files changed, 91 insertions, 0 deletions
diff --git a/mod/zaudio/views/default/file/specialcontent/audio/mp3.php b/mod/zaudio/views/default/file/specialcontent/audio/mp3.php new file mode 100644 index 000000000..a2b3e654f --- /dev/null +++ b/mod/zaudio/views/default/file/specialcontent/audio/mp3.php @@ -0,0 +1,31 @@ +<?php + + /** + * ZAudio - a simple mp3 player + * A simple plugin to play mp3 files on the page + * http://wpaudioplayer.com/license + * http://wpaudioplayer.com/standalone + * @package ElggZAudio + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.org/ + **/ + +?> +<!-- include the audioplayer js code --> +<script type="text/javascript" src="<?php echo $vars['url']; ?>mod/zaudio/audioplayer/audio-player.js"></script> +<!-- set up the player --> +<script type="text/javascript"> + AudioPlayer.setup("<?php echo $vars['url']; ?>mod/zaudio/audioplayer/player.swf", { + width: 290 + }); +</script> + +<div style="margin:10px 0 10px 10px;"> +<p id="audioplayer_1">Alternative content</p> + <script type="text/javascript"> + AudioPlayer.embed("audioplayer_1", {soundFile: "<?php echo $vars['url']; ?>mod/file/download.php?file_guid=<?php echo $vars['entity']->getGUID(); ?>"}); + </script> +</div> +
\ No newline at end of file diff --git a/mod/zaudio/views/default/file/specialcontent/audio/mpeg.php b/mod/zaudio/views/default/file/specialcontent/audio/mpeg.php new file mode 100644 index 000000000..318e0b301 --- /dev/null +++ b/mod/zaudio/views/default/file/specialcontent/audio/mpeg.php @@ -0,0 +1,30 @@ +<?php + + /** + * ZAudio - a simple mp3 player + * A simple plugin to play mp3 files on the page + * http://wpaudioplayer.com/license + * http://wpaudioplayer.com/standalone + * @package ElggZAudio + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.org/ + **/ + +?> +<!-- include the audioplayer js code --> +<script type="text/javascript" src="<?php echo $vars['url']; ?>mod/zaudio/audioplayer/audio-player.js"></script> +<!-- set up the player --> +<script type="text/javascript"> + AudioPlayer.setup("<?php echo $vars['url']; ?>mod/zaudio/audioplayer/player.swf", { + width: 290 + }); +</script> + +<div style="margin:10px 0 10px 10px;"> +<p id="audioplayer_1">Alternative content</p> + <script type="text/javascript"> + AudioPlayer.embed("audioplayer_1", {soundFile: "<?php echo $vars['url']; ?>mod/file/download.php?file_guid=<?php echo $vars['entity']->getGUID(); ?>"}); + </script> +</div>
\ No newline at end of file diff --git a/mod/zaudio/views/default/file/specialcontent/audio/mpg.php b/mod/zaudio/views/default/file/specialcontent/audio/mpg.php new file mode 100644 index 000000000..318e0b301 --- /dev/null +++ b/mod/zaudio/views/default/file/specialcontent/audio/mpg.php @@ -0,0 +1,30 @@ +<?php + + /** + * ZAudio - a simple mp3 player + * A simple plugin to play mp3 files on the page + * http://wpaudioplayer.com/license + * http://wpaudioplayer.com/standalone + * @package ElggZAudio + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.org/ + **/ + +?> +<!-- include the audioplayer js code --> +<script type="text/javascript" src="<?php echo $vars['url']; ?>mod/zaudio/audioplayer/audio-player.js"></script> +<!-- set up the player --> +<script type="text/javascript"> + AudioPlayer.setup("<?php echo $vars['url']; ?>mod/zaudio/audioplayer/player.swf", { + width: 290 + }); +</script> + +<div style="margin:10px 0 10px 10px;"> +<p id="audioplayer_1">Alternative content</p> + <script type="text/javascript"> + AudioPlayer.embed("audioplayer_1", {soundFile: "<?php echo $vars['url']; ?>mod/file/download.php?file_guid=<?php echo $vars['entity']->getGUID(); ?>"}); + </script> +</div>
\ No newline at end of file |