If you don't find an answer, please click here to post your question.

Resolving Player Positioning Issues

0 Kudos
Started ‎07-15-2013 by
Modified ‎10-07-2013 by

Resolving Player Positioning Issues

by Ooyalan ‎07-15-2013 11:12 AM - edited ‎10-07-2013 12:26 PM (509 Views)

TS-202 Player

Resolving Player Positioning Issues

 

 

If a player is embedded in a web page, the position of the player will not remain in the location specified. The player [both audio as well as video player] will be displayed in different location.

ERROR MESSAGE

No error message will be displayed but player take different location instead of where it should reside.

ENVIRONMENT

Device Compatibility

iOS, Android, Flash

Operative System

Mac OSX, Windows

Browser

Almost all browsers

Troubleshooting tools

firebug

 

CAUSE

As there is no specific space allotted for the player in a webpage, it defaults to the left corner of a webpage.

HOW TO RESOLVE

To resolve this issue, you need to add “PlayerContainerId” parameter to the player script.

 

RESOLUTION V2

<div id="cool"> </div>

 

<script src="http://player.ooyala.com/player.js?embedCode=YyZnJzYzqP2ZuDFfw4lV9ZKWMPLtLwfo&height=0&videoPcode=9u...">

</script>


             RESOLUTION V3

             <script>


window.player = OO.Player.create('cool','

someEmbedCode', '');

            </script>

 

 

REFERENCES