Results 1 to 3 of 3

Thread: embedd windows media player Problem

  1. #1

    embedd windows media player Problem

    I am working on an project for my client, i have done an admin panel for him to upload videos, when i upload video the url of the video is saved on database. And in the video section of the site i have all videos that i have uploaded and when i want to play an video i click on the link. The problem is that the embedded media player doesnt take the variable value that come from the link.
    This problems if more difficult with Firefox.
    Any Help here ??

  2. #2
    This is the code

    <object width="450" height="450" id="player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" >
    <param name="URL" value="http://www.anwarcoleman.com/admin/<?php echo $video;?>" />
    <param name="captioningID" value="cc" />
    <param name="AutoStart" value="true" />
    <param name="AutoRewind" value="true" />
    <embed type="application/x-mplayer2"
    pluginspage = "http://www.microsoft.com/Windows/mediaplayer/"
    name="http://www.anwarcoleman.com/admin/<?php echo $video;?>"
    value=" "

    With the link i pas the variable $video but is not working, the biggest probelm is with Mozilla
    Any help please?

  3. #3
    Join Date
    Feb 2008
    NW Washington State
    Is the URL being generated dynamically (on the fly) as you choose various titles? But no problems with playing if you direct code in each address?
    <param name="URL" value="http://www.anwarcoleman.com/admin/<?php echo $video;?>" />
    Iím pretty sure that this part of the address just isnít going to work:
    <?php echo $video;?> (thatís not a valid file address).
    Seems like you may need to use a variable and fill in the address with that if you want a dynamic selection.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles