Lightweight DITA SC

 View Only

More from Radu about audio and video

  • 1.  More from Radu about audio and video

    Posted 09-21-2016 13:09
    Dear people, Radu had a couple of comments about our use of video in the LwDITA plugin. ----- Hi Carlos, Great, thanks for the tip. I updated the LwDITA DTDs which will come bundled with Oxygen 18.1 to be the latest ones. Also we worked a bit and in Oxygen 18.1 if you are editing a LwDITA topic and using the "Insert Media" action, you will insert the proper <video> or <audio> constructs. I also updated the media plugin to support Lightweight DITA video and audio elements: https://github.com/oxygenxml/d ita-media-support A couple of observations about the current audio and video elements support in LwDITA: 1) You need to allow the width and height attributes to appear on <video> and <audio>. 2) Some videos (like YouTube videos) are referenced from HTML pages as embedded using <iframe>s and not <video>s. So if you have a LwDITA <video> element and you convert it to HTML you need to know in the processor if you will output it to an HTML <video> or to an HTML <iframe>. Right now the media plugin XSLT stylesheets look if the referenced video is from YouTube and output an <iframe>. So you might need some kind of type set on the LwDITA <video> element to state that you want it as an embeddable iframe resource or as a plain video. Regards, Radu --  Carlos Evia, Ph.D. Director of Professional and Technical Writing Associate Professor of Technical Communication Department of English Center for Human-Computer Interaction Virginia Tech Blacksburg, VA 24061-0112 (540)200-8201