Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 2 Gast/Gäste
Video/Image/Audio Player
#1
Eine neue Erweiterung wurde veröffentlicht: Video/Image/Audio Player

Zitat:Uses JW Player which support the following formats:
FLV, MP4, MP3, AAC, JPG, PNG and GIF.
Get JW Player and upload it to your site or else, this MyCode will not work.
Upload only player.swf to your root directory. Other files in the archive is unnecessary. If you got player-viral.swf, rename it to player.swf.

VIDEO PLAYER
Regular Expression
Code:
\[vid\](.*?)\[/vid\]

Replacement
Code:
<object><embed src="http://worldofanimeotaku.co.cc/player.swf" width='530' height='350' bgcolor="#ffffff" allowscriptaccess='always' allowfullscreen='true' flashvars='file=$1'</embed></object>

Example
Code:
[vid]http://content.longtailvideo.com/videos/flvplayer.flv[/vid]

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

Replacement
Code:
<object><embed src="http://worldofanimeotaku.co.cc/player.swf" width='470' height='20' bgcolor="#ffffff" allowscriptaccess='always' allowfullscreen='true' flashvars='file=$1'</embed></object>

Example
Code:
[mp3]http://www.longtailvideo.com/jw/upload/bunny.mp3[/mp3]

You can use the player to show images too. Use the video player MyCode for videos and images while MP3 MyCode for musics. Wink

Made this on my own, and not based on anyone's player. My

Hope you like it! Big Grin

Vorschau:
http://worldofanimeotaku.co.cc/thread-12-post-25.html
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Simple Audio Video Embeder MyBB.de Bot 25 7.651 06.07.2023, 17:55
Letzter Beitrag: MyBB.de Bot
  KrakenFiles.com Audio Player MyBB.de Bot 8 2.019 14.04.2023, 16:51
Letzter Beitrag: Gerti
  MyBB Audio Player MyBB.de Bot 0 792 31.12.2020, 10:50
Letzter Beitrag: MyBB.de Bot
  Simple Audio Video Embeder MyBB.de Bot 21 6.546 21.08.2013, 15:25
Letzter Beitrag: MrBrechreiz