...

View Full Version : Opening Windows Media Player



chartwise
10-30-2008, 11:57 AM
I have some .wmv files of a local band and wish to add them to a website I am building for them.

The problem is that they are only around a similar size to YouTube videos and I when a link is clicked to open the .wmv files in Windows Media Player I want the player window to open in the same dimensions as the video.

At the moment when WMP opens the video itself seems lost.

All help much appreciated.

Rowsdower!
10-30-2008, 05:29 PM
Are you talking about an embedded WMP object? In a pop-up or in the same window?

I'm guessing you're talking about an embedded player in a pop-up window but I want to make sure before I go any further...

chartwise
10-30-2008, 05:46 PM
Thanks for the reply Rowsdower

I'd like to open the .wmv files in Videobox if that is possible if not, to be able to open them in a pop-ups.

I have Videobox but don't know how to code the javascript in the HTML page for these. I only have the code for connecting to YouTube.

This is the only code I have:

<td width="140" bgcolor="#cccccc"><div align="center"><a href="http://www.youtube.com/watch?v=IsuPnnmQu3M" rel="vidbox" title="Black Eyed Peas - Where Is The Love"><img src="../images/artists/usa-b/BlackEyedPeas.jpg" width="120" height="120" border="0" /></a></div></td>

If possible could you please modify it for me.

Also how would I open the in a pop-up. This is so I am able to open them either way online.

Many Thanks in advance

Rowsdower!
10-30-2008, 06:16 PM
To be perfectly honest I'm not much of a Youtuber and I've never even heard of videobox before so I'm not sure how it works or behaves (or how much help I can be).

With that said, on the face of it the code you posted seems to just be a link to Youtube content that you could easily overwrite with the location of the content you are trying to play.

After further review and googling it looks like I'm right if you're talking about this:
http://videobox-lb.sourceforge.net/

If so, then then your code seems to be consistent with the sample on their website (the red parts are what you customize):




<a href="http://www.youtube.com/watch?v=uhi5x7V3WXE" rel="vidbox" title="caption">our video</a>







<td width="140" bgcolor="#cccccc">
<div align="center">
<a href="http://www.youtube.com/watch?v=IsuPnnmQu3M" rel="vidbox" title="Black Eyed Peas - Where Is The Love">
<img src="../images/artists/usa-b/BlackEyedPeas.jpg" width="120" height="120" border="0" />
</a>
</div>
</td>


Do you plan to upload the band's videos to Youtube or host them locally? If you're uploading to Youtube first then this should be dead easy...

gnomeontherun
10-30-2008, 06:16 PM
The info is on the Videobox site, but it doesn't support wmv.

I'm really confused what you are wanting here. Videobox-lb is not a popup, but rather a javascript program that helps facilitate the embedding of videos from shared sites.

Have you followed all of the instructions on the site? It gives you the exact code...
http://videobox-lb.sourceforge.net/

chartwise
10-30-2008, 10:30 PM
To be perfectly honest I'm not much of a Youtuber and I've never even heard of videobox before so I'm not sure how it works or behaves (or how much help I can be).

With that said, on the face of it the code you posted seems to just be a link to Youtube content that you could easily overwrite with the location of the content you are trying to play.

After further review and googling it looks like I'm right if you're talking about this:
http://videobox-lb.sourceforge.net/

If so, then then your code seems to be consistent with the sample on their website (the red parts are what you customize):






Do you plan to upload the band's videos to Youtube or host them locally? If you're uploading to Youtube first then this should be dead easy...

My plan is to show the videos on the band's own website - NOT YouTube.

On the website http://videobox-lb.sourceforge.net/ it only gives the code for YouTube.

Rowsdower!
10-30-2008, 10:53 PM
Hmm, if you plan to only host the videos locally I have no idea if videobox would work. It could work like a charm for all I know, but again, I really haven't looked very closely at it yet. I'll try to poke around the code a little bit sometime tomorrow but for now I'm going home!


eta: As jeremywilken pointed out, videobox is a...


javascript program that helps facilitate the embedding of videos from shared sites.


This isn't exactly what you are trying to do (and also, it apparently doesn't support wmv), but it might be able to be adapted to your needs. I'd suggest reading up on the FAQ at that site (if they have one) and spending some time getting to know Google. Odds are you aren't the first person to try to do this. And NOW I'm going home...

gnomeontherun
10-30-2008, 11:54 PM
If you want to host wmv yourself, then I suggest reading the thread that is a sticky in this forum. It has tons of examples and information about this. It is better to not be redundant and go over the information when it is already there.

By the way, Lightbox supports Flash players, which is not able to support wmv without converting it to FLV.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum