Current time: 03-16-2010, 10:06 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Video/Images/Music Player(v2)
11-15-2009, 03:12 PM (This post was last modified: 01-09-2010 03:20 PM by acrox999.)
Post: #1
Big Grin Video/Images/Music Player(v2)
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://YOURSITE.COM/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://YOURSITE.COM/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

Changelog
1.0 = Initial release.
1.5 = Did a bit changes, figuring out to make the code be able to work even with HTML disabled in the forum.
2.0 = Made it work with HTML disabled.

[Image: sig.png]

Video/Images/Music Player MyCode
Visit this user's website Find all posts by this user
Quote this message in a reply
11-17-2009, 08:35 PM
Post: #2
RE: Video/Images/Music Player(v2) - No More HTML!!! :D
Awesome bro.

Back Somewhat.
SUPPORT OUR PLUGIN MAKERS!
<snip>
Visit this user's website Find all posts by this user
Quote this message in a reply
11-18-2009, 07:07 AM
Post: #3
RE: Video/Images/Music Player(v2) - No More HTML!!! :D
Forgot to mention that you have to upload the player.swf to your root dir.

And thanks Mark.

[Image: sig.png]

Video/Images/Music Player MyCode
Visit this user's website Find all posts by this user
Quote this message in a reply
12-15-2009, 03:16 PM
Post: #4
RE: Video/Images/Music Player(v2)
I dont get it..sorry for being noob but i want to know what does it do.
I mean any demo please.

Cyberdigital forums||pagerank & Backlink check
Find all posts by this user
Quote this message in a reply
12-16-2009, 08:35 PM
Post: #5
RE: Video/Images/Music Player(v2)
I believe it basically plays media using a flash file when the mycode is used.

[Image: mybbsig.php]
Find all posts by this user
Quote this message in a reply
12-18-2009, 10:33 PM (This post was last modified: 12-18-2009 10:34 PM by RPicard.)
Post: #6
RE: Video/Images/Music Player(v2)
Looks nice. Can you give a demo?

MyBB Topsites | Software Discussion at BetaRelease.net
Visit this user's website Find all posts by this user
Quote this message in a reply
12-30-2009, 04:42 PM (This post was last modified: 12-30-2009 04:43 PM by i88power88.)
Post: #7
RE: Video/Images/Music Player(v2)
Here i've uploaded it to my forum...
http://alturl.com/bfdi

I had to do some changes...

Changes:
1.Rename "player-viral.swf" too "player.swf"
2.Change the mycode's...
Video mycode became:
Code:
<object><embed src="http://cyberhackers.freehostia.com/player.swf" width='530' height='350' bgcolor="#ffffff" allowscriptaccess='always' allowfullscreen='true' flashvars='file=$1'</embed></object>

Mp3 mycode became:
Code:
<object><embed src="http://cyberhackers.freehostia.com/player.swf" width='470' height='20' bgcolor="#ffffff" allowscriptaccess='always' allowfullscreen='true' flashvars='file=$1'</embed></object>
3. In the mycode change <embed src="http://cyberhackers.freehostia.com/player.swf" too <embed src="http://YOURSITE.com/player.swf"
Find all posts by this user
Quote this message in a reply
01-09-2010, 03:19 PM
Post: #8
RE: Video/Images/Music Player(v2)
Yes, you had to do some changes to it. I'm sure I've mentioned it right? Anyways, demo can be found at
http://worldofanimeotaku.co.cc

[Image: sig.png]

Video/Images/Music Player MyCode
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: