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
},

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

  • 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
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

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