How to make AVPlayer 1.3.2 work?
How to make AVPlayer 1.3.2 work?
Hi. I'm running CMS Made Simple 1.11.4.
I am helping our church to setup a website so that church staff can put weekly talk (in MP3 format) in the website.
I installed the avplayer 1.3.2 but I don't know how to put it in the site so that our clerical staff can help to put MP3 clips in the website.
Actually, I am new to CMS and had very green. Please help to provide some hints. Many thanks.
PK Hunter.
I am helping our church to setup a website so that church staff can put weekly talk (in MP3 format) in the website.
I installed the avplayer 1.3.2 but I don't know how to put it in the site so that our clerical staff can help to put MP3 clips in the website.
Actually, I am new to CMS and had very green. Please help to provide some hints. Many thanks.
PK Hunter.
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: How to make AVPlayer 1.3.2 work?
I use Yahoo WebPlayer - http://webplayer.yahoo.com/. It works like a charm.
Put in the page specific metadata of the page where you put the mp3-file
Upload your mp3 into e.g. uploads/mp3
Put in the content of your page:
Put in the page specific metadata of the page where you put the mp3-file
Code: Select all
<__script__ type="text/javascript" src="http://webplayer.yahooapis.com/player.js"></__script>
Put in the content of your page:
Code: Select all
<a href="uploads/mp3/example3.mp3">titel of the mp3</a>
Re: How to make AVPlayer 1.3.2 work?
Another alternative https://www.cmscanbesimple.org/blog/blo ... ade-simple
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: How to make AVPlayer 1.3.2 work?
I made a small adjustment so you only have to insert the name of the mp3-file. For use replace /path/to/ with e.g. :uploads/mp3/
in your webpage use {mp3 file='filename.mp3'}
Code: Select all
$config = cmsms()->GetConfig();
$str = $config['root_url'];
echo '<embed type="application/x-shockwave-flash" flashvars="audioUrl= '.$str.'/path/to/' . ($params[file]) . ' "src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="400" height="27" quality="best" style="z-index:0;" wmode="transparent"></embed>';
Re: How to make AVPlayer 1.3.2 work?
Hi staartmees, thanks for your help. It sounds good and handy to use. Yet our hosting provider only provide FTP access for me, and thus I cannot telnet to the shell to run the code you provide (I should run your script, right?).
I think I may download the config file and put the amendments in it. Or, what should I do to insert your codes? Please forgive me for I am naive. The config file you are talking about is the config.php in the root directory, right?
Thanks again.
PK Hunter.
I think I may download the config file and put the amendments in it. Or, what should I do to insert your codes? Please forgive me for I am naive. The config file you are talking about is the config.php in the root directory, right?
Thanks again.
PK Hunter.
staartmees wrote:I made a small adjustment so you only have to insert the name of the mp3-file. For use replace /path/to/ with e.g. :uploads/mp3/
in your webpage use {mp3 file='filename.mp3'}Code: Select all
$config = cmsms()->GetConfig(); $str = $config['root_url']; echo '<embed type="application/x-shockwave-flash" flashvars="audioUrl= '.$str.'/path/to/' . ($params[file]) . ' "src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="400" height="27" quality="best" style="z-index:0;" wmode="transparent"></embed>';
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: How to make AVPlayer 1.3.2 work?
You don't need all that fuzz. It's very simple.
(1) Put the code below in a user defined tag - you'll find them under Extensions - you call mp3
(2) Put the tag below in the content of your webpage where you want it to appear
(3) Upload your mp3-file(s) into uploads/mp3
That's all. So no telnet or changing your config.php
(1) Put the code below in a user defined tag - you'll find them under Extensions - you call mp3
Code: Select all
$config = cmsms()->GetConfig();
$str = $config['root_url'];
echo '<embed type="application/x-shockwave-flash" flashvars="audioUrl= '.$str.'/path/to/' . ($params[file]) . ' "src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="400" height="27" quality="best" style="z-index:0;" wmode="transparent"></embed>';
Code: Select all
{mp3 file='filename.mp3'}
That's all. So no telnet or changing your config.php
Re: How to make AVPlayer 1.3.2 work?
Hi Rolf and staartmees,
Thanks so much for your help and the Tag works fine.
One more thing, when client clicks on the player, it downloads the whole mp3 before it starts to play it. If the mp3 is a long talks, it takes a while before we can hear the speaker talks. Is there a way that the player plays the mp3 just after it buffers a few seconds (i.e. plays almost on-the-fly)? Or there is another player that fulfills the request?
Many thanks!!
Kind Regards,
PK Hunter.
Thanks so much for your help and the Tag works fine.
One more thing, when client clicks on the player, it downloads the whole mp3 before it starts to play it. If the mp3 is a long talks, it takes a while before we can hear the speaker talks. Is there a way that the player plays the mp3 just after it buffers a few seconds (i.e. plays almost on-the-fly)? Or there is another player that fulfills the request?
Many thanks!!
Kind Regards,
PK Hunter.
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: How to make AVPlayer 1.3.2 work?
In that case use the Yahoo WebPlayer
Re: How to make AVPlayer 1.3.2 work?
Then, if using Yahoo WebPlayer, how to make it as a "Tag" so that it can be simply used by non-IT user, like our church general staff to update/upload the weekly talks in the website?
Thanks.
Thanks.
Re: How to make AVPlayer 1.3.2 work?
Are they going to be single mp3 players or do they want a player with a playlist function where all the mp3 files can be played with one player..?
I made ListIt2 into an audio player with a single player with a playlist, very easy for users to add mp3s...
http://tributetoaking.com/buy-it-now.html
I made ListIt2 into an audio player with a single player with a playlist, very easy for users to add mp3s...
http://tributetoaking.com/buy-it-now.html
Re: How to make AVPlayer 1.3.2 work?
Hi Dr. CSS, it would be a single MP3 player for each audio clip. Thx.
Hi Staartmees,
For easier use of the Yahoo WebPlayer, I defined the following Tag, but it does not work. Can you give me some hints?
Code:
$config = cmsms()->GetConfig();
$str = $config['root_url'];
echo '<a href="' . $str . 'uploads/audio/' . ($params[file]) . '">' . ($params[desc]) . '</a>';
Thx
Hi Staartmees,
For easier use of the Yahoo WebPlayer, I defined the following Tag, but it does not work. Can you give me some hints?
Code:
$config = cmsms()->GetConfig();
$str = $config['root_url'];
echo '<a href="' . $str . 'uploads/audio/' . ($params[file]) . '">' . ($params[desc]) . '</a>';
Thx
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: How to make AVPlayer 1.3.2 work?
to make the Yahoo Webplayer work, you don't need all that fuzz
1. Put in the page specific metadata of the page where you put the mp3-file
2. Upload your mp3 into e.g. uploads/mp3
Put in the content of your page:
You can do this very simple with the built-in 'insert link' of TinyMCE
1. Put in the page specific metadata of the page where you put the mp3-file
Code: Select all
<__script__ type="text/javascript" src="http://webplayer.yahooapis.com/player.js"></__script>
2. Upload your mp3 into e.g. uploads/mp3
Put in the content of your page:
Code: Select all
<a href="uploads/mp3/example3.mp3">titel of the mp3</a>