PDA

View Full Version : BB Code Enhancements - Entertonement.com BB Code - Embed Movie Sound Clips (BBCode)


BirdOPrey5
08-26-2010, 10:00 PM
Breaking News: Entertonement was taken over by Hark.com but this BB Code still works. See post #6 for updated instructions.

Entertonement.com (http://www.entertonement.com) is a website with a vast collection of audio clips from your favorite movies and other sound bites- such as "Luke, I am your father..." from Star Wars or the Joker asking "Why so serious?" from the latest Batman film. All your favorite lines are probably there. (Not limited to movies but they are my favorite).

You can embed their files in your forum with this BB Code... I had to make some changes to their default embed code but it works well.

This has been confirmed working in the latest releases of IE, FF, Chrome, Safari, and Opera.

Live Demo: here. (http://www.juot.net/forums/showthread.php?p=858187#post858187)

Add a new BBCode

Title: Entertonement Audio
BB Code Tag Name: ent
Replacement:

<div style="display: block; margin: 10px auto; text-align: center;"><embed src="http://media.entertonement.com/embed/OpenEntPlayer.swf" id="1_21e19a4a_b1ee_11df_9de4_0019b9e56dac" name="1_21e19a4a_b1ee_11df_9de4_0019b9e56dac" flashvars="auto_play=false&clip_pid={param}&e=&id=1_21e19a4a_b1ee_11df_9de4_0019b9e56dac&skin_pid=wfxswdnlkf" width="300" height="30" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="always" wmode="transparent"></embed></div>

Example:xybpjkbfks
Use Option: No
Button Image: (optional) https://vborg.vbsupport.ru/external/2010/08/10.jpg
Remove Tag If Empty: Yes
All Disable Options: Yes

If you get a message after submitting the new code that says:
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
You may safely hit "Continue" - this is a bug in vBulletin.

When you find the audio clip you want click on "embed" and look for the "Link" URL such as:
http://www.entertonement.com/clips/xybpjkbfks--Luke-I-am-your-fatherMovies-James-Earl-Jones-Darth-Vader-Star-Wars-Episode-V-The-Empire-Strikes-Back-

The only part of URL you need is the code after "/clips/" in this case: xybpjkbfks

xybpjkbfks

Please mark as installed if you use this. :)

Check My Profile (https://vborg.vbsupport.ru/member.php?u=258922) for other BB Code enhancements. They work on all versions.

Screenshot Attached:
https://vborg.vbsupport.ru/attachment.php?attachmentid=121343&stc=1&d=1282926247

Download the .txt file for a copy of the install instructions.

COL NIL SATIS
09-04-2010, 03:58 PM
haha.:eek::eek:..great stuff...works well too:)

Goonie
09-27-2010, 04:51 PM
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

* <div style="display: block; margin: 10px auto; text-align: center;"><embed src="http://media.entertonement.com/embed/OpenEntPlayer.swf" id="1_21e19a4a_b1ee_11df_9de4_0019b9e56dac" name="1_21e19a4a_b1ee_11df_9de4_0019b9e56dac" flashvars="auto_play=false&clip_pid={param}&e=&id=1_21e19a4a_b1ee_11df_9de4_0019 b9e56dac&skin_pid=wfxswdnlkf" width="300" height="30" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="always" wmode="transparent"></embed></div>

BirdOPrey5
09-27-2010, 05:40 PM
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

* <div style="display: block; margin: 10px auto; text-align: center;"><embed src="http://media.entertonement.com/embed/OpenEntPlayer.swf" id="1_21e19a4a_b1ee_11df_9de4_0019b9e56dac" name="1_21e19a4a_b1ee_11df_9de4_0019b9e56dac" flashvars="auto_play=false&clip_pid={param}&e=&id=1_21e19a4a_b1ee_11df_9de4_0019b9e56dac&skin_pid=wfxswdnlkf" width="300" height="30" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="always" wmode="transparent"></embed></div>

You can safely hit "continue" that is a bug in vbulletin.

As you can see all HTML attributes are in double quotes. (style="", src="", etc...)

Goonie
09-27-2010, 07:13 PM
OK sound. Thanks.

BirdOPrey5
06-13-2011, 12:20 AM
Entertonement was taken over by Hark.com but this BB Code is still working just fine. They must have kept backwards compatibility with the old enteronement embeds.

The Hark URL is something like: http://www.hark.com/clips/jclfkhbddn-ducktales

Just put the code before the dash into the BB Code. Example:

jclfkhbddn will produce the player embedded on your site.

dtommy79
03-07-2012, 04:39 PM
Hi,

I have a couple of questions.

Does this mod work with vb4.1.11?

I have small few seconds long mp3 files on my server. can I embed them with this BBcode?

Thanks

BirdOPrey5
03-07-2012, 04:47 PM
Yes it should work with 4.1.11

You can see it work here: Qapla.com Entertonement Demo (http://www.qapla.com/mods/showthread.php/26-Entertonementcom-now-Hark-Audio-Clip-BBCode) - which is running 4.1.11

In general bbcodes work on all VB versions since at least VB 3.5.

However this will not allow you to play mp3 files on your own server, you would need to install a local mp3 player for something like that.

Something like this: https://vborg.vbsupport.ru/showthread.php?t=235934

Or this: https://vborg.vbsupport.ru/showthread.php?t=199533 (don't worry about the vb version)