Difference between revisions of "MP3 player"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: MP3 player.

m (Reverted edit of Julli9, changed back to last version by Tsala)
Line 1: Line 1:
<div id="nolabel" style="overflow:auto;height:1px;">
+
The multimedia filter embeds MP3 files in a streaming player made with Flash. The big MP3 player is used when an MP3 file is added as a [[Resources|resource]] e.g. [http://moodle.org/mod/resource/view.php?id=2296 Moodle Features Demo: MP3 file]. The small player is used when an MP3 file is linked to from within a forum post or another resource or activity using the [[HTML editor]].
  
 +
==MP3 player rates==
  
[http://www.action-meds.com cheap butalbital]
+
To ensure that MP3 files are played at the correct rate, sample rates of 11, 22 or 44 kHz should be used.
[http://www.5stardrugs.com buy tramadol]
 
[http://www.24-7pills.net tramadol online]
 
[http://www.american-meds.net butalbital discount]
 
[http://www.amazing-pills.com butalbital cheap]
 
buy tramadol online. online tramadol from our pharmacy, taking tramadol buy information tramadol, side effects tramadol, purchase tramadol online. cod online tramadol, tramadol india, cheap tramadol online, tramadol online, pharmacy online store
 
tramadol 50 mg. low price tramadol, tramadol pain treatment - tramadol hcl 50? - 120 tramadol. tramadol sales, buying cod tramado l, tramadol for humans, cheap tramadol online, overdose tramadol. order tramadol pictured tramadol pill tramadol seizure. cod tramadol cod, tramadol pdr, order pharmacy tramadol. buy prescription tramadol drug tramadol - tramadol side.
 
is tramadol a, order tramadol online, tramadol hcl, tramadol drug test .tramadol uses order tramadol overnight paypal tramadol
 
tramadol com tramadol tablets tramadol no perscription remove tramadol.
 
[http://20six.co.uk/cheaptramadol cheap tramadol]
 
[http://20six.co.uk/ordertramadol order tramadol]
 
[http://20six.co.uk/onlinetramadol1 online tramadol]
 
[http://20six.co.uk/tramadolonline tramadol online]
 
[http://20six.co.uk/tramadoldiscount tramadol discount]
 
[http://20six.co.uk/purchasetramadol purchase tramadol]
 
[http://20six.co.uk/ordersoma order soma]
 
[http://20six.co.uk/onlinesoma1 online soma]
 
[http://20six.co.uk/online-viagra online viagea]
 
[http://20six.co.uk/orderviagra order viagra]
 
[http://20six.co.uk/cheapviagraonline cheap viagra online]
 
[http://20six.co.uk/purchaseviagra purchase viagra]
 
[http://20six.co.uk/cheap-ultram cheap ultram]
 
  
[http://spaces.msn.com/cheap-tramadol/ cheap tramadol]
+
==Flash security settings==
[http://spaces.msn.com/buy-viagra/ buy viagra]
 
  
SEO: UndoneHeaven
+
Security changes in Flash player 7 may result in the MP3 player not playing MP3 files hosted on a remote server. This issue may be resolved by writing a cross-domain policy for the remote server and/or each user changing their global security settings in the Flash player settings manager.
  
[http://www.replicahours.com rolex replica]
+
===Cross-domain policy===
[http://www.replicahours.com/index.php?cPath=51_25 fake rolex daydate]
 
[http://www.replicahours.com/index.php?cPath=29 replica swiss]
 
[http://www.google.com/search?sourceid=navclient&gfns=1&ie=UTF-8&q=replicahours replicahours]
 
buy replica cheap best price rolex discounf fake. watches fake watch online store using paypal fedex rolex replicahours. order rolex replica now. cheap wholesale fake rolex online free shipping. 80% discount rolex replica and replicas watches. woman how to adjust a chronometer watch authorized rolex dealer, rolex watches rolex dial rolex oyster perpetual date reloj panerai replica en usa rolex watches serial numbers rolex woman daytona daytona watch replica panerai watch rolex 50th anniversary rolex daytona paul newman replica rolex buy rolex watches. ladies rolex yachtmaster white dial faux. rolex daytona manual cellini rolex for sale pictures of rolex oyster perpetual datejust rolex rolex gmt-master ii buying rolex on line fake rolex daytona gold on silver how to tell fake tag rolex oyster perpetual new tell. Replica rolex? Swiss made replica rolex watch! Cost does fake much rolex rolex presidential rolex. Rolex dials rolex sea dweller. Rolex  tudor fake rolex turkey datejust oyster perpetual rolex man rolex submariner cosmograph daytona oyster professional rolex? Datejust rolex rolex replica rolex fake rolexes for sale. Rolex submariner for sale, rolex yachtmaster! Explorer ii rolex preowned rolex watch? Cheap rolex watch, rolex daytona 116520 forum rolex. 18k gold replica ex part rolex daytona review rolex submariner 50 anniversary rolex cellini replica rolex watch fake rolex omega?
 
  
[http://www.customsoftwarenow.com custom software development]
+
To create a cross-domain policy, save the code below as ''crossdomain.xml'' and place the file at the root of the remote server.
Software Development, custom software development, offshore  software development, outsourcing software development
 
  
[http://www.thepublish.com press release]
+
<cross-domain-policy>
press release, articles, business directory, ezines, classifieds, job search,business free b2b search advertising aerospace defense agriculture airlines automotive chemicals computers electronics semiconductors energy utilities
+
    <allow-access-from domain="www.yourmoodlesite.org" />
 +
  </cross-domain-policy>
  
[http://www.ez-agents.com wholesale atv]
+
Please refer to [http://www.macromedia.com/devnet/flash/articles/fplayer_security.html Macromedia - Developer Center: Security Changes in Macromedia Flash Player 7] for further details.
</div>
+
 
 +
===Global security settings===
 +
 
 +
Please refer to [http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html Macromedia - Flash Player Help: Global Privacy Settings Panel].
 +
 
 +
==MP3 player colours==
 +
 
 +
''theme/yourtheme/config.php'' contains options for changing the default colours (black, white and grey) of the MP3 player.
 +
 
 +
$THEME->resource_mp3player_colors =
 +
  'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
 +
  'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
 +
  'font=Arial&fontColour=3333FF';
 +
/// With this you can control the colours of the "big" MP3 player
 +
/// that is used for MP3 resources.
 +
 
 +
$THEME->filter_mediaplugin_colors =
 +
  'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
 +
  'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&';
 +
/// ...And this controls the small embedded player
 +
 
 +
==MP3 playback options==
 +
 
 +
''theme/yourtheme/config.php'' contains options for changing the playback options of the MP3 player.
 +
 
 +
* <code>waitForPlay</code> determines whether the MP3 file starts downloading as soon as the player appears on the page (<code>waitForPlay=no</code>), or whether the play button must be pressed before the MP3 file starts downloading (<code>waitForPlay=yes</code>).
 +
 
 +
* <code>autoPlay</code> determines whether the MP3 player starts playing the MP3 as soon as the player appears on the page (<code>autoPlay=yes</code>), or whether it must be fully downloaded before playing (<code>autoPlay=no</code>).
 +
 
 +
* <code>buffer</code> determines how many seconds of the MP3 file must be downloaded before the MP3 starts playing e.g. 10 seconds (<code>buffer=10</code>).
 +
 
 +
'''Default playback options'''
 +
 
 +
* Big MP3 player: <code>buffer=10&waitForPlay=no&autoPlay=yes</code>
 +
* Small MP3 player: <code>waitForPlay=yes&autoPlay=no</code>
 +
 
 +
==See also==
 +
 
 +
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=14663 mp3 player rates] forum discussion
 +
* [[Podcasting]]
 +
 
 +
[[Category:Administrator]]
 +
[[Category:Teacher]]
 +
[[Category:Filter]]

Revision as of 20:52, 4 July 2006

The multimedia filter embeds MP3 files in a streaming player made with Flash. The big MP3 player is used when an MP3 file is added as a resource e.g. Moodle Features Demo: MP3 file. The small player is used when an MP3 file is linked to from within a forum post or another resource or activity using the HTML editor.

MP3 player rates

To ensure that MP3 files are played at the correct rate, sample rates of 11, 22 or 44 kHz should be used.

Flash security settings

Security changes in Flash player 7 may result in the MP3 player not playing MP3 files hosted on a remote server. This issue may be resolved by writing a cross-domain policy for the remote server and/or each user changing their global security settings in the Flash player settings manager.

Cross-domain policy

To create a cross-domain policy, save the code below as crossdomain.xml and place the file at the root of the remote server.

<cross-domain-policy>
   <allow-access-from domain="www.yourmoodlesite.org" />
</cross-domain-policy>

Please refer to Macromedia - Developer Center: Security Changes in Macromedia Flash Player 7 for further details.

Global security settings

Please refer to Macromedia - Flash Player Help: Global Privacy Settings Panel.

MP3 player colours

theme/yourtheme/config.php contains options for changing the default colours (black, white and grey) of the MP3 player.

$THEME->resource_mp3player_colors = 
 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
 'font=Arial&fontColour=3333FF';
/// With this you can control the colours of the "big" MP3 player 
/// that is used for MP3 resources.
$THEME->filter_mediaplugin_colors = 
 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&';
/// ...And this controls the small embedded player

MP3 playback options

theme/yourtheme/config.php contains options for changing the playback options of the MP3 player.

  • waitForPlay
    determines whether the MP3 file starts downloading as soon as the player appears on the page (
    waitForPlay=no
    ), or whether the play button must be pressed before the MP3 file starts downloading (
    waitForPlay=yes
    ).
  • autoPlay
    determines whether the MP3 player starts playing the MP3 as soon as the player appears on the page (
    autoPlay=yes
    ), or whether it must be fully downloaded before playing (
    autoPlay=no
    ).
  • buffer
    determines how many seconds of the MP3 file must be downloaded before the MP3 starts playing e.g. 10 seconds (
    buffer=10
    ).

Default playback options

  • Big MP3 player:
    buffer=10&waitForPlay=no&autoPlay=yes
  • Small MP3 player:
    waitForPlay=yes&autoPlay=no

See also