Page 1 of 1

MEDIA_UNSUPPORTED in author

Posted: Sat Jul 23, 2022 1:37 am
by Lemesany
My team uses the object tag to embed videos into our HTML content. In Author view, there is a "MEDIA_UNSUPPORTED" visual that misleads the writer into thinking the video isn't working. How can I fix this so a thumbnail instead shows of the video, or some other resolution I haven't thought of?
Brightcove embed.png

Re: MEDIA_UNSUPPORTED in author

Posted: Mon Jul 25, 2022 12:16 pm
by Radu
Hi,

It's possible Oxygen's video player does not support that specific format.
Oxygen uses CSS to render the DITA XML content in the Author visual editing mode, maybe you can add you own CSS with a selector like this:

Code: Select all

    *[class~="topic/object"][data^='https://players.']{
      content: "Video from: "attr(data) !important;
      color:blue;
    }
to overwrite Oxygen's default CSSs.
https://blog.oxygenxml.com/topics/customizeDITACSS.html

Regards,
Radu