If you don't find an answer, please click here to post your question.
Reply
Occasional Advisor
Posts: 8
Registered: ‎10-16-2012
Accepted Solution

Access Ooyala Player Object

[ Edited ]

I am trying to access the current player object in a javascript function.  The page loads, and the player starts.

 

How do I access the player object within a function.  I want to access OO.Player  with a id of 'playerwrapper' that is currently playing on the page.

 

That way, I can have access to all of the functions available to the object.


Accepted Solutions
Occasional Advisor
Posts: 8
Registered: ‎10-16-2012

Re: Access Ooyala Player Object

We found it.  You grab it through the OO.Player.create and pass the current video embed code, and then destroy it.

View solution in original post


All Replies
Occasional Advisor
Posts: 8
Registered: ‎10-16-2012

Re: Access Ooyala Player Object

We found it.  You grab it through the OO.Player.create and pass the current video embed code, and then destroy it.

Highlighted
Posts: 1,380
Topics: 178
Kudos: 108
Blog Posts: 78
Ideas: 3
Solutions: 39
Registered: ‎08-20-2012

Re: Access Ooyala Player Object

Hi, I'm happy to hear you found a solution. Thanks for visiting the Ooyala Community.

Best,
Thomas
Please show your appreciation to others. If someone helps you, don't forget to give them Kudos by clicking the star button next to their post. If a post answers your question, please mark it as an "Accepted Solution."




Check out our latest Ooyala Engineering Blog!