Hi I’m developing a small web app in which I have and embed video player,
<object width="500" height="295" id="undefined" name="undefined"
data="http://www.facebook.com/l/c816a6KvMcY-i- yv0MPzf7OgOAw;releases.flowplayer.org/swf/flowplayer-3.2.5.swf"
type="application/x-shockwave-flash">
<param name="movie" value="http://www.facebook.com/l/c816aYgPeP5dGgJdnVHVdFuuEvA;releases.flowplayer.org/swf/fl owplayer- 3.2.5.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value='config={"clip":{"url":"../resources/<%=????%>"},
"playlist":[{"url":"../resources/<%=????%>"}]}'/>
</object>
My problem is how to pass the selected movie trailer to de player, since the selected movie is handled by JSF to get to the trailer (the I’m using strings the file is already in correct location)
<h:outputText value="Trailer:"/>
<h:outputText value="#{ http://www.facebook.com/l/c816a- u4g9I3Gob02P5T8CTSmQg;movies.movies.trailer}" title="Trailer" />
Thank you very much for any information you can provide
best regards
Just print it inline.
If JSP:
If Facelets: