If you don't find an answer, please click here to post your question.
11-24-2018 03:58 AM
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
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?
11-26-2018 01:44 AM
11-27-2018 12:16 AM
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.
Do let me know if I misunderstood your question. I'll be glad to help.
11-27-2018 06:56 AM
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.