MEDIA_UNSUPPORTED in author

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Lemesany
Posts: 21
Joined: Wed Jan 25, 2017 11:21 pm

MEDIA_UNSUPPORTED in author

Post 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
You do not have the required permissions to view the files attached to this post.
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: MEDIA_UNSUPPORTED in author

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply