Hello everyone! I have a problem. I embed one media file into PDF and I want to display the user interface when playing this file. I know this is possible with javaScript, but i dont can get the embeded media rendition. Plase give me idea to solution.
my c# code: PdfFileSpecification sound = PdfFileSpecification.FileEmbedded(writer, soundPath, "horse", null, false); PdfAnnotation soundAnnotation = PdfAnnotation.CreateScreen(writer, soundRectangle, "horse", sound, "audio/mp3", false); soundAnnotation.Name = "horse"; soundAnnotation.Title = "horse"; writer.AddAnnotation(soundAnnotation); app.alert(this.media.getAnnot({nPage:0,cAnnotTitle:'horse'})); -->[object ScreenAnnot] app.alert(this.media.getRendition("horse")); --> null Many thanx! -- View this message in context: http://itext-general.2136553.n4.nabble.com/rendition-problem-tp2310117p2310117.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/