Reputation: 429
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.
Upvotes: 1
Views: 206
Reputation: 1313
Non-programmatic:
Programmatic:
I'm sure there are other ways as well.
You could also validate based on the existence of top level properties in OO, given they are fairly different.
This is assuming that you don't have a hodge podge of v3 and v4 player on the same page - let me know if that assumption is wrong.
Hope that's helpful. I would be curious to know the use case!
Upvotes: 0
Reputation: 6721
Chinya,
Depends on the player version, they have slightly different APIs.
Check out API Docs site for the most updated versions.
A quick search turns out that player v4 has a getVersion()
function.
Upvotes: 0