Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Embedded Windows Streaming Medea Player, with download link. Details »»
Embedded Windows Streaming Medea Player, with download link.
Version: 1.00, by camoit camoit is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.1.2 Rating:
Released: 03-24-2011 Last Update: 03-29-2011 Installs: 27
Re-useable Code  
No support by the author.

Embedded Windows Streaming Medea Player with download link. Works in vB 4.1.11 and below

Here is a nice clean embedded WMP with a download link you can put in your forum.
Using the custom BB Codes.
Feel free to change things as needed to customize for your site. Please add in what you did in the post section.
Please read the hole mod before making changes to your board.
Thank You.


<<<<NOTE>>>>
FIRE FOX USERS: see bug fix and work around section below. It's not hard to make changes in the code for the fixes or behaviors that you may want to change.


For a live demo, see the first post, on the first page. GO HERE.

It should work in earlier versions also. OH to download with the link below the player just right click then save target as. --- And BAM--- You got the song... Cool hu???

To Install First download the zip file.
Install Time 5 minutes.

Go to your AdminCP> Custom BB Codes> BB Code Manager. Click on Add New Code.

Title: WMP
BB Code Tag Name: WMP
Replacement code:
(just copy and paste from the download and place in the replacement box.)


Example: [wmp]http://www.yoursite.com/source.mp3[/wmp]

Description:
Embed a video link from another website...
You can use *.wmv, *.mpeg, *.mpg, *.avi. *mp3. and more.
For streaming content use the URL to the stream.


Use {option}: NO

Button Image: Can be used
(See Attach File for Icon.)

Remove Tag If Empty: YES

Disable BB Code Within This BB Code: YES

Disable Smilies Within This BB Code: YES

Disable Word Wrapping Within This BB Code: YES

Disable Automatic Link Parsing Within This BB Code: YES




This must be done when installing or to change the auto start feature. Date added 10-15-2011

Factory default is set this way. Please look when installing.
AUTO START
Internet Explorer----------------- OFF
Fire Fox --------------------------ON


To turn the "Auto Start" function ON or OFF
IE USERS: Look in the top section of code for this line:

To turn ON
Find:
<param name="AutoStart" value="False">

Change to:
<param name="AutoStart" value="True">


Now in the Fire Fox section near the bottom.
To turn the "Auto Start" function ON or OFF


To turn OFF auto start:

Find and change this:
autostart" value="False">

To This:
autostart="0"


For some reason Fire Fox want's it this way.



Date added 10-15-2011
Fire Fox BUG FIX and work around.


<<<<NOTE>>>> Date added 10-15-2011
In the bottom section, for Firefox users.

To STOP the auto start function

Change from this:
autostart" value="False"

To this:
autostart="0"

This will disable the auto start function.

Credit to hotrod122, for the bug fix.
Thanks.


<<<<NOTE>>>> Date added 10-15-2011
Fire Fox users. With a "LIVE" streaming feed the control buttons may not be visible.

You might want to add the fallowing line of text at the very top of the mod text.
Add this line, or your own line of text.

Find this line:
<object id="MediaPlayer1" width=640height=480 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"

On a new line just above the find line,
Add this line:
<b>Fire Fox Users may need to right click the screen for Start / Stop controls.</b>








If you are having problems. There are two things to check. First right click on the player screen area then select "Properties". If it shows your URL/directory/ href= or somthing like that then fallow the directions below.
Click on "View" then source at the top of your Browser. Find the code in the source and look for this line of code:
<param name="FileName" value= {param} ref>
See if your vBulletin is adding extra lines of code. If so it will have somthing like this:

target="_blank

If you see this code then look through the MOD section for the little fix I found:
Stop opening links in a new window.
Install this and you should be up and running.
The 3 lines of code below is what you will need to play around with in order to make it play right.

I am NOT a coder. But I have used this code for other PHP boards and have always managed to make it work.


NOTETo use with phpbb find and change the fallowing lines.

Find and change this:
<param name="FileName" value= {param} ref>
To this:
<param name="FileName" value="{URL}">
Find and change this:
src= {param} align="middle"
To this:
src="{URL}" align="middle"
Find and change this:
<a href= {param} >Download</a>
To this.
<a href="{URL}">Download</a>

Good Luck.

Download Now

File Type: zip WMP_embed.zip (2.8 KB, 157 views)

Screenshots

File Type: jpg wmp_mod.jpg (295.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-19-2011, 02:44 PM
hotrod122 hotrod122 is offline
 
Join Date: Nov 2006
Location: Kansas
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by camoit View Post
Thanks for the info. I'll give it a try.
Once you have a good code that actually works you can play around with it. It took for ever to find a code that worked with Php. I haven't taken the time to mess with the Fire Fox part much. Been working on building an on line radio station.

Thanks again.
no problem...makes it better for everyone including myself..
Reply With Quote
  #23  
Old 10-27-2013, 07:48 PM
camoit camoit is offline
 
Join Date: Feb 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by webgroup View Post
Could this be done with YouTube?
Yes it has YouTube but not windows media player. So if you have your own radio station server encoding with direct connections it adds a way to stream to tour listeners.



Quote:
Originally Posted by Reycer View Post
You do realize that VB4 has that feature built in...right?
You can't stream to YouTube. This adds a way to stream.
Reply With Quote
  #24  
Old 01-24-2014, 07:55 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have this working recently? The demo doesn't work with the latest firefox.

Thanks, This may be just what we need!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04259 seconds
  • Memory Usage 2,266KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (2)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete