1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

wmv player help - stop autoplay

Discussion in 'Graphics & Multimedia' started by bschneider5, Dec 6, 2005.

  1. #1
    I am adding a WMV file/viewer to a blog post and the problem I am having is that I don't want it automatically start whenthe page loads, I want to have to press the play button. Any toughts? Here is the code I'm using:

    <center><embed src="http://www.bradsblog.net/wp-images/lights.wmv" width="400" height="300" autoplay="false" controller="true" loop="false"></embed></center><br />
    Code (markup):

     
    bschneider5, Dec 6, 2005 IP
    Blogmaster likes this.
  2. danimal

    danimal Active Member

    Messages:
    1,024
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    80
    #2
    there is usually quite a bit more code involved with an embedded wmv player... is that all of your wmv code?
     
    danimal, Dec 9, 2005 IP
  3. bschneider5

    bschneider5 Active Member

    Messages:
    1,009
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    88
    #3
    yes, and it seems to works except for the autoplay feature
     
    bschneider5, Dec 10, 2005 IP
  4. wrmineo

    wrmineo Peon

    Messages:
    3,087
    Likes Received:
    379
    Best Answers:
    0
    Trophy Points:
    0
    #4
    wrmineo, Dec 10, 2005 IP
  5. bschneider5

    bschneider5 Active Member

    Messages:
    1,009
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    88
    #5
    OK, here's the deal....The code works but it seems to be a firefox issue. It doesnt autoplay in explorer, you can see my dilemma here - http://www.bradsblog.net/?p=181


    Thanks!
     
    bschneider5, Dec 10, 2005 IP
  6. danimal

    danimal Active Member

    Messages:
    1,024
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    80
    #6
    i was referring to including things like the class i.d. of the player, something similar to this... firefox can be really finicky with embedded wmv:

    <OBJECT id=MediaPlayer codeBase=HTTP://ACTIVEX.MICROSOFT.COM/ACTIVEX/CONTROLS/MPLAYER/EN/NSMP2INF.CAB#VERSION=6,4,7,1112
    type=application/x-oleobject height=300
    standby="Loading Windows Media Player components..." width=320
    classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6>
     
    danimal, Dec 10, 2005 IP