I can't get p:media
to work, tested with Chrome and IE, different Quicktime- and Windows-types over StreamedContent
(see example below) and by referencing it from the resources
-folder (value=/resources/clear.avi
) of my webapp. No video starts to play although loading & rendering seems to be "working" per se. The player shows up and the loaded video seems not to be broken while the files aren't for sure (playing works on desktop usage). When using StreamedContent, I start to render after loading the video.
My config:
- PrimeFaces 3.5
- Apache MyFaces 2.1.12
- Jetty 9.0.4
What can be wrong here?
<h:panelGroup id="video">
<p:media value="#{contentEditorBean.media}" width="250" height="190" player="windows" rendered="#{contentEditorBean.media != null}">
<f:param name="autoPlay" value="false" />
</p:media>
</h:panelGroup>