import video/audio file
Oxygen general issues.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: import video/audio file
Hello,
In order to better understand your use-case, could you please specify what document type has the XML file in which you want the audio / video files to be included (is it a DITA document or DocBook, or a TEI one)?
Regards,
Costin
In order to better understand your use-case, could you please specify what document type has the XML file in which you want the audio / video files to be included (is it a DITA document or DocBook, or a TEI one)?
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: import video/audio file
Hi,
We do not have a button on the toolbar for inserting references to videos or audio files but we will consider this as an improvement request and maybe provide such buttons in a future version.
In the meantime, in DITA documents you can insert an element called <object>:
http://docs.oasis-open.org/dita/v1.2/os ... tml#object
which corresponds to the HTML <object> tag.
The DITA code for embedding a YouTube movie would thus be something like:
You can create a code template in Oxygen which appears in the content completion window and inserts such a construct.
Such constructs do not work for the PDF output.
Regards,
Radu
We do not have a button on the toolbar for inserting references to videos or audio files but we will consider this as an improvement request and maybe provide such buttons in a future version.
In the meantime, in DITA documents you can insert an element called <object>:
http://docs.oasis-open.org/dita/v1.2/os ... tml#object
which corresponds to the HTML <object> tag.
The DITA code for embedding a YouTube movie would thus be something like:
Code: Select all
http://www.oxygenxml.com/doc/ug-oxygen/index.html#topics/embed_videos.html
Such constructs do not work for the PDF output.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: import video/audio file
Hello,
The "object" element from DITA can be used for this. Note that this will only work for HTML output.
Please see the following topic for details:
Embed Youtube Videos in DITA
The same procedure can be used for generic video or audio files, not just for Youtube.
Regards,
Adrian
The "object" element from DITA can be used for this. Note that this will only work for HTML output.
Please see the following topic for details:
Embed Youtube Videos in DITA
The same procedure can be used for generic video or audio files, not just for Youtube.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 84
- Joined: Wed Jul 19, 2017 6:04 pm
- Location: Austria
- Contact:
Re: import video/audio file
Hello,
how looks the inserting of audio now? I use <oXygen/> XML Editor 18.1, build 2017020917
I have an xml document, which I process than with xslt to html.
thanks
alex
how looks the inserting of audio now? I use <oXygen/> XML Editor 18.1, build 2017020917
I have an xml document, which I process than with xslt to html.
thanks
alex
adrian wrote:Hello,
The "object" element from DITA can be used for this. Note that this will only work for HTML output.
Please see the following topic for details:
Embed Youtube Videos in DITA
The same procedure can be used for generic video or audio files, not just for Youtube.
Regards,
Adrian
Kind regards,
Oleksii Sapov-Erlinger
Oleksii Sapov-Erlinger
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: import video/audio file
Hi,
There is an "Insert media" dialog box that can assist you with this.
You can find the documentation in the Oxygen user manual:
Adding Video, Audio, and Embedded HTML Resources in DITA Topics
See the tip at the bottom.
Regards,
Adrian
There is an "Insert media" dialog box that can assist you with this.
You can find the documentation in the Oxygen user manual:
Adding Video, Audio, and Embedded HTML Resources in DITA Topics
See the tip at the bottom.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 84
- Joined: Wed Jul 19, 2017 6:04 pm
- Location: Austria
- Contact:
Re: import video/audio file
Hi, Adrian,
that article is for DITA topic files (I have no idea what it is), should it work for an xml-file (http://prntscr.com/fyhnix)? Anyway, I don't find such button "insert media" there.
best
Alex
that article is for DITA topic files (I have no idea what it is), should it work for an xml-file (http://prntscr.com/fyhnix)? Anyway, I don't find such button "insert media" there.
best
Alex
Kind regards,
Oleksii Sapov-Erlinger
Oleksii Sapov-Erlinger
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: import video/audio file
Hi,
This thread was discussing embedding video/audio for DITA. "Insert media" is an Author (visual editing) action available in Oxygen for specialized types of XML document like DITA, DocBook, HTML.
So, you can find the same action when editing HTML in Oxygen (Author mode).
There is no generic way to insert/embed audio in any (non-specialized) XML file.
If you just want it in the output HTML file, you should provide a reference/URL to the video/audio in the XML file, that you can then process (or simply copy) with your XSLT stylesheet to the resulting HTML.
Regards,
Adrian
This thread was discussing embedding video/audio for DITA. "Insert media" is an Author (visual editing) action available in Oxygen for specialized types of XML document like DITA, DocBook, HTML.
So, you can find the same action when editing HTML in Oxygen (Author mode).
There is no generic way to insert/embed audio in any (non-specialized) XML file.
If you just want it in the output HTML file, you should provide a reference/URL to the video/audio in the XML file, that you can then process (or simply copy) with your XSLT stylesheet to the resulting HTML.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service