Philippe N. wrote:
This is what I did; I hope it can help you
reproduce the issue. All you need is to use the “*video.mp4*” file
shipped in *XXE/doc/dita/images/*, and the sample files you sent me.
1) I used the sample **.xml* and video file (*create_doc.mp4*) you
attached to your response. *I worked fine.*
2) Then, I added a third /<videoobject>/ using the “*video.mp4*”
file shipped with XXE-7.3 in *$XXE/doc/dita/images/*. With this third
video object, I got the Java FX exception I mentioned:
/“Could not create player!”. / *Not only this*, but the embedded player
with the local file -- that was previously OK -- now also shows also a
Java FX exception://
I didn't manage to reproduce the problem on my Linux box by doing (1)
then (2), but I will also test this on Windows and get back to you.
3) If I remove the extra <videoobject> and redraw (Ctrl+L) XXE
windows, everything gets back to normal.
OK.
I get the same issue with the other video files I have tried so far (Ogg
format, video/ogg; we produce *.ogg video internally).
This is normal. The Ogg format is not supported by JavaFX.
As explained here: "Specify alternate audio and video formats whenever
possible",
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmledit.media.MediaInfoEditor.html
, the best strategy is to specify several video files, e.g. ogg but also
mp4.
---
Specify alternate audio and video formats whenever possible
The embedded media player only supports playing few audio and video
formats, mainly .mp3 (audio/mpeg) , .wav (audio/x-wav), .m4a
(audio/x-m4a), .mp4 (video/mp4).
This should not prevent you from specifying alternate audio and video
formats like .ogg (audio/ogg), .webm (video/webm), etc. Such formats may
be the only ones supported by the application which will be used to open
your deliverable (example: Apple iBook used to open the EPUB 3 book
resulting from the conversion of a DITA document). So it is important to
specify alternate audio and video formats whenever possible.
---
When transformed (tried: WebHelp, HTML), everything works fine; except
that the video are in /autoplay/ mode although I did not set it. I guess
this is more a DocBook stylesheet issue ?
Yes.
/I'm afraid that the following info. is insufficient:/
/---/
/XXE : 7.3/
/Java JRE : Latest JRE-64 bit from Oracle OS : Windows (7) and Linux
(Debian7)/
/---/
OK; what information would you need ?
What's generated by the "Copy" button of "Help|About XMLmind XML
Editor". See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/helpMenu.html#aboutAction
This could be the key to reproducing the issue, so please send me this info.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support