JWPlayer MyCode Embed v3[APPROVED]
#1
Star 
Remember the old Video/Image/Audio MyCode I did couple years ago? This time, I've improved it with a plugin hook to make the installation easier. Smile

Details
------
A simple MyCode which able you to embed a JWPlayer into your posts easily.

Instructions
-------------
1. Get JWPlayer from here : http://www.longtailvideo.com/
2. Create a folder named "jwplayer"(without '"') at the root of your forum directory and extract player.swf into that folder.
3. Install the plugin(jwplayermycode.php).
4. That's all, and for usage details, read "Usage" below.

Usage
-------
For images/videos, use the following MyCode tag:
[video]linktovideo[/video]

For audios, use the following MyCode tag:
[audio]linktoaudio[/audio]

For more details on what video/images/audios formats are supported, please visit the following page:
http://www.longtailvideo.com/players/jw-...ech-specs/

Notes : Plugin approved, grab it here!
http://mods.mybb.com/view/jwplayer-mycode-embed


Attached Files Thumbnail(s)
       

.zip   JWPlayerMyCodeEmbed_v3_13-08-11.zip (Size: 1.32 KB / Downloads: 302)
Reply
#2
Awesome bro.
I'm not here often, shoot a PM or whatever if you want my discord.
Reply
#3
Forgot to mention that you have to upload the player.swf to your root dir.

And thanks Mark.
Reply
#4
I dont get it..sorry for being noob but i want to know what does it do.
I mean any demo please.
Reply
#5
I believe it basically plays media using a flash file when the mycode is used.
[Image: mybbsig.php]
Reply
#6
Looks nice. Can you give a demo?
Reply
#7
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:
<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:
<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"
Reply
#8
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
Reply
#9
Im trying to add this code and i also downloaded your plug in from http://mods.mybb.com/view/video-image-audio-player
but i am still failing......

I dont know wot im doiing wrong so please help me out i really need it please on this thread

http://community.mybb.com/thread-59696.html
Reply
#10
Sorry, I haven't updated the code for a very long time, and I guess it doesn't work with the new MyBB 1.6. You can always get the player from JW Player and try making a code based on this. I haven't mess around with MyBB for a long time now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)