Page 1 of 1

Fullscreen toggle for embedded video

Posted: Fri Mar 04, 2022 1:13 am
by francespublic
I am using Oxygen 17.1, with a bridge to SDL Publication Manager v13.0. I have been trying to embed a Brightcove player video which includes the full screen toggle. I can embed the video and have added the parameter "allowfullscreen" with value="true", but I cannot get the full screen control to work in the output. Here's what I did (the cid values come from SDL):

Code: Select all

<object outputclass="iframe" height="967" width="1025" cid="yfjJ2">
        <param name="allowfullscreen" value="true"cid="JGxpS" />
        <param name="webkitallowfullscreen" value="true" cid="1G1ArT" />
        <param name="mozallowfullscreen" value="true" cid="1Vkf2G" />
        <param name="src" value="https://players.brightcove.net/1263232659001/default_default/index.html?videoId=5972439124001" cid="1JQ24B" />
      </object>
I also tried this:
<object outputclass="iframe" cid="LecVc" width="1205" height="967">
        <param name="frameborder" value="0" cid="1Ir6DE" />
        <param name="src" value="https://players.brightcove.net/1263232659001/default_default/index.html?videoId=5972439124001" cid="YaNZD" />
        <param name="allow" value="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-picture; allowfullscreen" cid="VwqCJ" />
      </object>
could the limitation on the fullscreen toggle be something to do with the css? or with the transformation created by the SDL bridge?

Re: Fullscreen toggle for embedded video

Posted: Fri Mar 04, 2022 8:10 am
by Radu
Hi,

Oxygen 17 is in our end of support stage so officially we no longer support it in any way: https://www.oxygenxml.com/eol.html
If you were to use Oxygen's bundled DITA OT publishing engine to publish the DITA topic to HTML for example, all the <param>'s specified on the DITA <object> would be converted to attributes on the <iframe> element generated in the HTML output. You can check this out by opening the HTML file generated from the DITA topic.
If you are publishing on the SDL side, we have no control over this, maybe they should install our media support DITA OT plugin on the server side in the DITA OT used there to publish:
https://github.com/oxygenxml/dita-media-support

Regards,
Radu

Re: Fullscreen toggle for embedded video

Posted: Tue Mar 15, 2022 9:29 pm
by francespublic
Thank you for the response, Radu. We are now thinking of upgrading to Oxygen 20 which is supported by the SDL software with a small upgrade. We are using Dita in Oxygen to create our content. I can create an HTML file with an embedded video in WordPad++ and get the full screen toggle to work.
I still cannot do it in Oxygen 17.1 publishing through the SDL site to HTML5. I believe SDL is using the DITA OT. Any other suggestions as to why the full screen toggle might not work? Transformations used? Thank yu.

Re: Fullscreen toggle for embedded video

Posted: Wed Mar 16, 2022 8:32 am
by Radu
Hi,

I'm sorry but maybe you should discuss this with SDL if you are using their publishing facilities.
As I said if you are publishing on the SDL side, we have no control over this, maybe they should install our media support DITA OT plugin on the server side in the DITA OT used there to publish:
https://github.com/oxygenxml/dita-media-support

Regards,
Radu