Windows media player block with drop down

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Windows media player block with drop down
chrisedwards123
CZ Newbie
chrisedwards123 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 19, 2005
0.00 posts per day
Posts: 10
Points: 513
   
Looking for a block for phpnuke 7.6 that I can embed a media player and have a drop down select box for the files.
Like this one [ Register or login to view links on this board. ] its called Highlight Reel on the top right.

Can anyone help me I have searched everywhere and cant find it

Thanks,
Chris



Back to top Reply with quote
#2   re: Windows media player block with drop down
EFF_HaRt
CZ Newbie
 Codezwiz Site Donator
EFF_HaRt has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Occupation: Aviation Electronics Technician
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Apr 20, 2005
0.00 posts per day
Posts: 28
Points: 3,437
 Yahoo Messenger MSN Messenger 
Well i dont know what the code is for the drop down block but here is the code for the media player.

The width and height can be adjusted to whatever your needs are(in pixels). Keep in mind that the videos you want to play in most cases dont adjust to the window size so if its too small you wont be able to see it right.Just adjust as needed.

I saw the one you were refering too and a few of the videos you couldnt see .... well you could see that a video was playing but the screen was off by alot.

Hope this helps ... its a popular block on my site. I change the video every week or on request.


<EMBED src="http://www.yourdomain.com/thefileyouwanttoplay.wav" autostart=false hidden=false loop=false width=400 height=315></EMBED>



Back to top Reply with quote
#3   re: Windows media player block with drop down
0re0
CZ Newbie
0re0 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 07, 2005
0.00 posts per day
Posts: 1
Points: 150
   
I don't lnow of anyblock that is a PHP file that has that scrip0t in it,but i did view they're source and ripped the HTML.i think what they did id they made a HTML block.Its fairly simple and if you have experience with PHP then you should know how to make a HTML block,here is the script.I really think this will work.If not,let me know and i'll try to figure out another way to modify it.......
<center>You are watching:<br> Nothing selected yet</a><br><br>
<OBJECT ID='Player' HEIGHT='151' WIDTH='150' classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112' standby='Loading Microsoft® Windows® Media Player components...'      type='application/x-oleobject'>
    <PARAM NAME='Filename' value=''>
    <PARAM NAME='ShowControls' VALUE='true'>
   <PARAM NAME='ShowStatusBar' VALUE='false'>
   <PARAM NAME='Autostart' VALUE=''>
   <PARAM NAME='ShowPositionControls' value='False'>
   <PARAM NAME='ShowTracker' value='False'>
   <EMBED type='application/x-mplayer2'
   pluginspage = 'http://www.microsoft.com/Windows/MediaPlayer/'
   SRC='http://www.yourdomain.com/whateverfolderyourvideosarein'
   name='Player'
   width='150'
   height='151'
   AutoStart=''
   showcontrols='' showstatusbar='' showdisplay=''>
   </EMBED>
<noembed><a href=''>Play Nothing selected yet</a></noembed>
   </OBJECT><br><br><form name="form" method="post" action=""><select name="tvselect" onchange="form.submit()"><option>- Select station -</option><OPTION VALUE="31">1st Video.wav</option><OPTION VALUE="29">2nd Video.wav</option><OPTION VALUE="26">3rd Video.wav</option><OPTION VALUE="22">4th Video.wav</option><OPTION VALUE="27">5th Video.wav</option></select></form></center>



Back to top Reply with quote
#4   re: Windows media player block with drop down
EFF_HaRt
CZ Newbie
 Codezwiz Site Donator
EFF_HaRt has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Occupation: Aviation Electronics Technician
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Apr 20, 2005
0.00 posts per day
Posts: 28
Points: 3,437
 Yahoo Messenger MSN Messenger 
Yes that worked great. My question is can you get it to work for .MOV file types as well? Or do i just change the value on one of the Video.wav options? Will it display the title of the file to be played?

Also you can use that code in any PHP block ... just go to admin/blocks .. create new block and paste that code in there.

BTW you can see it here at my site [ Register or login to view links on this board.]



Back to top Reply with quote
#5   re: Windows media player block with drop down
chrisedwards123
CZ Newbie
chrisedwards123 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 19, 2005
0.00 posts per day
Posts: 10
Points: 513
   
It works but i cant get any of my vids to play.I dont know what I am doing wrong.
Can you post where I am supposed to put the code to load the video.I get a media player but when i click the proper video choice I dont get anything.
Here is the site. [ Register or login to view links on this board. ]
the videos are in the bottom right corner.

Thanks
Chris



Back to top Reply with quote
#6   re: Windows media player block with drop down
EFF_HaRt
CZ Newbie
 Codezwiz Site Donator
EFF_HaRt has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Occupation: Aviation Electronics Technician
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Apr 20, 2005
0.00 posts per day
Posts: 28
Points: 3,437
 Yahoo Messenger MSN Messenger 
sorry i dont see it. Can you copy your code in here so we can see it?



Back to top Reply with quote
#7   re: Windows media player block with drop down
chrisedwards123
CZ Newbie
chrisedwards123 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 19, 2005
0.00 posts per day
Posts: 10
Points: 513
   
Here it is. I didnt have that block activated Sorry..
Thanks,
Chris


<center>You are watching:<br> Nothing selected yet</a><br><br>
<OBJECT ID='Player' HEIGHT='151' WIDTH='150' classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112' standby='Loading Microsoft® Windows® Media Player components...'      type='application/x-oleobject'>
    <PARAM NAME='Filename' value=''>
    <PARAM NAME='ShowControls' VALUE='true'>
   <PARAM NAME='ShowStatusBar' VALUE='false'>
   <PARAM NAME='Autostart' VALUE=''>
   <PARAM NAME='ShowPositionControls' value='False'>
   <PARAM NAME='ShowTracker' value='False'>
   <EMBED type='application/x-mplayer2'
   pluginspage = 'http://www.microsoft.com/Windows/MediaPlayer/'
   SRC='http://thracing.net/video'
   name='Player'
   width='150'
   height='151'
   AutoStart=''
   showcontrols='' showstatusbar='' showdisplay=''>
   </EMBED>
<noembed><a href=''>Play Nothing selected yet</a></noembed>
   </OBJECT><br><br><form name="form" method="post" action=""><select name="tvselect" onchange="form.submit()"><option>- Select station -</option><OPTION VALUE="31">GTP_THRacing.wmv</option><OPTION VALUE="29">2nd Video.wav</option><OPTION VALUE="26">3rd Video.wav</option><OPTION VALUE="22">4th Video.wav</option><OPTION VALUE="27">5th Video.wav</option></select></form></center>



Back to top Reply with quote
#8   re: Windows media player block with drop down
EFF_HaRt
CZ Newbie
 Codezwiz Site Donator
EFF_HaRt has been a member for over 19 year's 19 Year Member
usa.gif california.gif
Occupation: Aviation Electronics Technician
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Apr 20, 2005
0.00 posts per day
Posts: 28
Points: 3,437
 Yahoo Messenger MSN Messenger 
Its nothing your doing wrong. I tried the same code, it doesnt work. There is something missing in the code i just cant figure out what it is. I will do some digging and try some stuff and get back to you ... unless some one else figures it out first.



Back to top Reply with quote
#9   re: Windows media player block with drop down
jeff21up
CZ Newbie
jeff21up has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jun 18, 2005
0.00 posts per day
Posts: 6
Points: 1,011
   
The block you are looking for is a download from
[ Register or login to view links on this board.]
this can be used to stream tv stations as well as your own videos etc

you can also get a radio from there
where you can put your own music

Check it out on my site
[ Register or login to view links on this board.]



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum