icefaces


<ice:outputMedia> and <ui:repeat>


I am trying to play sequence of .wav files with the following code. My Problem is some times all files are playing at a time some times one after other. Simple to say xyz.wav files are playing randomly. Is there a way to thread.sleep or to wait till one file finishes playing the audio???
<
(ui:repeat value="#{captcha.imageSpeechFiles}" var="cart" rendered="#{captcha.play}">
(ice:outputMedia source="#{cart}" mimeType="audio/x-wav" player="windows" style="width:0px;height:0px;" >
(param name="play" value="true"/>
(/ice:outputMedia>
(/ui:repeat>
I solved my own question. instead of ice:outputMedia tag if we use embed as shown below its working fine.
(ui:repeat value="#{popup.imageSpeechFiles}" var="cart" rendered="#{popup.play}">
(embed id="embdwav" src="#{cart}" autostart="true" hidden="true" />
(/ui:repeat>

Related Links

EffectQueue and chaining effects in IceFaces 1.8
Ace Datatable row selector with paginator
How to customize internal server error popup?
How to use more than one ace:fileEntry tag in the same page?
Enabling ICEfaces compat leads to not recognizing h:head and h:body
Passing parameter to <ice:rowSelector>'s clickListener attribute
ICEfaces configured for view, but h:head and h:body components are required
ace:tabSet style is corrupted when using ICEFaces 3
How to configure rime style in ICEfaces 3
scrolling changes the size of the ice datatable headers
How to get values in dropdown list from database in icefaces?
Data pager in icefaces not paging
use sbt for generate a webapp with icefaces
Cancel button Icefaces with immediate=true
how to redirect to j_security_check in the managed bean?
How do I disable a column using icefaces?

Categories

HOME
paypal
vue.js
openssl
warnings
antivirus
cocos2d-x-3.0
sbt-assembly
orientation
flyway
jrebel
file-io
eval
constructor
vuex
cratedb
titan
python-unicode
apache-karaf
arm-template
ada
anychart
propel2
ejbca
multicore
apply
bootstrap-typeahead
pdfsharp
non-deterministic
osmdroid
interrupt-handling
bxslider
helix-3d-toolkit
skygear
spreedly
mapguide
discord.net
android-download-manager
crop
jtds
nsjsonserialization
ideone
chown
drawingarea
chunked-encoding
sgmlreader
goquery
applepayjs
shutdown
greenhills
ticker
modelattribute
mercury
rxvt
verbose
tomee
rstudio-server
pax-web
spark-cassandra-connector
nofollow
multifile-uploader
soda
amazon-kcl
asynccallback
fortran90
bluesnap
self-hosting
java.util.calendar
eyeql
datasnap
js-cookie
pgm
google-hadoop
uptodate
android-search
scala-2.11
adcolony
em
sortable
io.js
lumx
opensocial
android-json-rpc
mimosa
sql-server-2012-web
nuspec
cgimageref
vt100
android-4.0
sequelpro
ubuntu-11.10
caliper
z-machine
nintendo
cross-domain-policy
executable-format
goliath
gtk2hs
loadui
trampolines
openvg
asp.net-mvc-controller
hmacsha1
nt4
handheld
rd

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App