Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Apr 2008
    Location
    Manchester, England
    Posts
    206
    Thanks
    33
    Thanked 2 Times in 2 Posts

    Opening Windows Media Player

    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.
    Last edited by chartwise; 10-30-2008 at 01:08 PM.

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    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...

  • #3
    Regular Coder
    Join Date
    Apr 2008
    Location
    Manchester, England
    Posts
    206
    Thanks
    33
    Thanked 2 Times in 2 Posts
    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

  • #4
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    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...

  • #5
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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/
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #6
    Regular Coder
    Join Date
    Apr 2008
    Location
    Manchester, England
    Posts
    206
    Thanks
    33
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by Rowsdower! View Post
    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.

  • #7
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    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...

    Quote Originally Posted by jeremywilken View Post
    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...
    Last edited by Rowsdower!; 10-31-2008 at 12:03 AM.

  • #8
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •