If you don't find an answer, please click here to post your question.
Reply
Occasional Contributor
Posts: 3
Registered: ‎11-24-2018

Is there any way to get ooyala player version or player information using ooyala java scripts API

I want get player version of Ooyala player like Player V2, V3 or V4.

Is there any api available to get player version or player information.

For example to get asset title, you can use the following code

ooyala_player.getTitle()

How to get know which player i am using player v3? or v4? using api.

I know the player v3 and player v4 has different UI other than this any difference in player v3 and v4?

Thanks.

Occasional Contributor
Posts: 3
Registered: ‎11-24-2018

Re: Is there any way to get ooyala player version or player information using ooyala java scripts AP

Occasional Advisor
Posts: 5
Registered: ‎10-02-2018

Re: Is there any way to get ooyala player version or player information using ooyala java scripts AP

Hi There,

 

Hope you're doing well!

 

Thanks for contacting Ooyala Support team!

 

So if I understood this correctly, you would like to know the version of the player that's rendered on your website? We can get the version of the player using 'OO.VERSION.core.releaseVersion' which returns an object that contains the core player version as a string. You can use this Value as a reference to check if this is V3 or V4.

 

Here's an example page that demonstrates this: https://jsbin.com/xeyulovoja/edit?html,console,output (NOTE: the playback might not work due to cross-error)

 

With regards to the differences between, V3 and V4 the major difference is V3 was based on the flash and on the other hand the V4 player is using the HTML5 technologies for playback. I recommend reading this article that explains the player V4 features.

 

Link: https://help.ooyala.com/video-platform/concepts/pbv4_intro.html

 

Do let me know if I misunderstood your question. I'll be glad to help.

 

Best,

Azhar

 

 

Highlighted
Occasional Advisor
Posts: 5
Registered: ‎10-02-2018

Re: Is there any way to get ooyala player version or player information using ooyala java scripts AP

Hi Again,

 

Adding to the above solution, we also have a direct method which returns the player version 'player.getVersion()'. https://apidocs.ooyala.com/player_v4_js/OO.Player.html#getVersion

 

However, it's currently not working as expected. We're looking into this and should be fixed soon. You get keep eye on the Player Web release notes for an update.

 

Link: http://help.ooyala.com/video-platform/concepts/pbv4_release_notes.html

 

Best,

Azhar