JavaScript
Article

Flowplayer remove play again button

By Sam Deering

This is how you can remove the Flowplayer play again button. Useful when playing live streams which have an autoplay setup.

play-again-button

This is the setup to remove the button.

play:
{
    opacity: 0.0,
    label: null, // label text; by default there is no text
    replayLabel: null, // label text at end of video clip
},

onFinish: function()
{
    this.play(); //auto replay clip
},
  • krishna

    Although i did that i was unable to remove the “play again” button.Could you please help me in this?

    • http://jquery4u.com/ jQuery4u

      that code above should work, have you a link to your code? What html are you using? Does it have a containing div or is it just a hyperlink.

      Sam

  • http://www.facebook.com/james.bishop.10 James Bishop

    Hi, what file are you adding/amending this code to? I am using the Flowplayer plugin for wordpress. I’m reading various conflicting reports as to whether or not this is even possible as its something compiled into the flash files, rather than being something we can edit. I’ve tried amending a number of php files, but with no success. If you know specifically how to remove this flippin play again image i will be forever in your debt!! I’ve wasted the best part of a day researching and testing. I’m at that point where i just want to go to bed ! :)

    • http://jquery4u.com/ jQuery4u

      Hi James, the code above is added to the player object like so: http://jsfiddle.net/kvtYe/1/. I’ve included an example of the HTML used also might help with the removal of that play button!
      Sam

  • Salafi

    Hi i want to give margin left to big play button…any idea????

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in JavaScript, once a week, for free.