Embedded video problems
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 8
- Joined: Mon Apr 19, 2021 9:16 pm
Embedded video problems
Post by candymmorton »
We are trying to embed videos in our topics using the code below. We cannot get poster working, the video will not autoplay and the video does loop but will not sop after 3 cycles. Any help would be appreciated!
Code: Select all
<cmd>Embed video and modify using param element.</cmd>
<info><object width="800"
data="https://aa2019packagesdkfordocumentation.s3-us-west-2.amazonaws.com/videos/visi-filter.mp4"
outputclass="video" type="video/mp4">
<param name="movie" value="visi-filter"/>
<param name="poster" value="../Videos/visibility-filter.jpg"/>
<param name="autoplay" value="true"/>
<param name="loop" value="3"/>
<param name="quality" value="high"/>
</object></info>
Re: Embedded video problems
Hi,
Each parameter element you set on the <object> element becomes an attribute on the generated HTML video element.
After publishing the DITA content you can look inside the generated HTML topic, maybe change it manually until it works to see what changes should be made to it.
For the poster parameter "<param name="poster" value="../Videos/visibility-filter.jpg"/>" the publishing engine does not automatically copy the poster image to the output folder, so this is probably it does not work.
There is another way to fully control the generated HTML content, here's a link to an older post which also explains how to force copy certain resources to the output folder by referencing them in the DITA Map:
viewtopic.php?f=20&t=23463
Regards,
Radu
Each parameter element you set on the <object> element becomes an attribute on the generated HTML video element.
After publishing the DITA content you can look inside the generated HTML topic, maybe change it manually until it works to see what changes should be made to it.
For the poster parameter "<param name="poster" value="../Videos/visibility-filter.jpg"/>" the publishing engine does not automatically copy the poster image to the output folder, so this is probably it does not work.
There is another way to fully control the generated HTML content, here's a link to an older post which also explains how to force copy certain resources to the output folder by referencing them in the DITA Map:
viewtopic.php?f=20&t=23463
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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