Can I color the background of an embedded player?

Yes, if you are embedding an HTML5 player to distribute either a video or an image content type, you will be able to color its background in order to match it with the style of the web page. To do so you will simply have to provide the HEX code of the color as a string along with the "bgcolor" parameter.


The following is a sample of how your embed code should look like:


<head> <script type="text/javascript" src="//[clientId]"></script>
<div id="#divIDHere" style="width:640px; height:480px"></div>
THRONPlayer("#divIDHere", {media: "//[clientId][clientId]&xcontentId=[xcontentId]&pkey=[pkey]", embedCodeId: "[embedCodeId]",
displayLinked: "open",
displayDownload: "open",
noSkin: false,
forceHTML5: true,
bgcolor: "#f39900",
autoPlay: false});
Was this article helpful?
0 out of 0 found this helpful

Have any question?

Open a ticket