Forums Test
Audio & Video
Audio MyCode MP3-MP4-WAV-WebM-OGG - Printable Version


+- Forums Test (http://www.mybb.pinostudio1.com)
+-- Forum: Musica [ Sonido & Cultura ] (http://www.mybb.pinostudio1.com/forumdisplay.php?fid=1)
+--- Forum: Partituras (http://www.mybb.pinostudio1.com/forumdisplay.php?fid=2)
+--- Thread:
Audio & Video
Audio MyCode MP3-MP4-WAV-WebM-OGG (/showthread.php?tid=1275)



Audio MyCode MP3-MP4-WAV-WebM-OGG - nala-pino - 10-09-2016

MyCode   Format Support: MP3 | MP4 | WAV| WebM | OGG |InterExplorer 8.0 or Xp|    


Format .mp3


Format .weba


Format .m4a


Format .m4v


Format .ogg


Format .wav



MyCode: Audio File Formats

Title:
MP3

Short Description:
Quote:[ mp3 ] Audio File All Format [ / mp3 ]

Regular Expression:
PHP Code:
\[mp3\](.*?)\[/mp3\] 


Replacement:
PHP Code:
<audio controls>
<
source src="$1" width="300" height="480" type="audio/mpeg">
<
source src="$1" width="300" height="480" type="audio/ogg">
<
source src="$1" width="300" height="480" type="audio/wav">
<
source src="$1" width="300" height="480" type="video/mp4">
<
source src="$1" width="300" height="480" type="video/webm">
<
object type="application/x-shockwave-flash" data="player.swf?soundFile=$1">
<
param name="movie" value="player.swf?soundFile=$1" />
<
a href="$1">Download File</a>
</
object>
</
audio

To use it Just Copy the URL of your Audio Media with Syntax: .  

Nevermind the Audio File Format, Just Copy the Song Audio to the Syntax
Quote:Syntax: [ mp3 ] [ / mp3].  

In HTML5, there are 3 supported Audio Formats: MP3, Wav, and Ogg.
The browser support for the different formats, HTML Audio - Browser Support

Demo OnLine:  Audio - Open Your Favoryte Browser [ Chrome, Safari, Opera, FireFox, Internet Explorer ]

Big Grin