Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces with a media file
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
It should be straightforward to embed movies, flash, etc. into ICEfaces pages.
<ice:outputMedia value="#
{bean.mediaURL}" width="int" height="int"
controller="bool" autoplay="bool" type="mime-type-String" />
The outputMedia component can use the type to produce the correct
HTML for the particular piece of embedded media. Note that this
HTML is not simple in the cross-browser case:
http://www.alistapart.com/articles/byebyeembed
If the type is not present, it can be guessed from the extension of the value attribute.