media audio - set autostart to false

UI Components for JSF
Post Reply
djeverson
Posts: 3
Joined: 13 Jul 2009, 20:20

13 Jul 2009, 20:23

Hello,

I came to primefaces for the charts - but found so much more. excellent! thanks for the library.
One of the other requirements I have in my project is to play voice mails via the application. I can't find any documentation for the media tag except for the demo itself. I was curious if there is any documentation and also if autostart on the media can be set to false (i.e. don't automatically start playing on page load.)

Again, thanks for the library. It looks like it will save a ton of time and I can remove a lot of custom code (e.g. code to download files, etc).

Dave

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

16 Jul 2009, 12:08

Hi Dave, thanks for the feedback.

p:media is added after 0.9.0 so documentation for that will be shipped with 0.9.1. I think you can configure autoplay behavior with adding f:param. Never tried but this might work;

Code: Select all

<p:media>
   <f:param name="autoplay" value="false" />
</p:media>

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests