Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Audio & Video Audio MyCode MP3-MP4-WAV-WebM-OGG
#1
Bug 
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)