Insert a link of video

Questions about XML that are not covered by the other forums should go here.
yiyi_vivi
Posts: 13
Joined: Tue Nov 13, 2012 9:30 pm

Insert a link of video

Post by yiyi_vivi »

Hi all,

We want to insert a link in a dita file, so that if we click the link in the output file (e.g. pdf or webhelp), it will open a new window and show the video to us.

And here's my approach, first embed the video clip in a html file, then insert the html file into the dita file by using <xref> tag. In this way, I need to copy the video folder to the output folder after generate the output file. I'm wondering if it's a good approach, or if there's any other better approach?

Thanks,
Ivy
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Insert a link of video

Post by Radu »

Hi Ivy,

Look like a good approach to me, at least for the WebHelp output.
For the PDF output probably you will need to have the link to point to an address on a web site. Users can download PDFs and use them locally without any additional HTML files and videos located next to them.
You can also ask this on the DITA Users List, they might have better ideas than I do.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply