Anyone know a way to obtain the currently active Brightcove video player by name (as per video cloud account) via the Brightcove API ? Maybe I'm missing something simple, but I cant find it in any of the documentation
Cheers J
According to the Brightcove support site:
When you use a read method in the Media API to get a video, you specify which properties of the video you want to be returned with the video_fields parameter in the method call. For example, to get a video's name and duration, you might use a find_video_by_id call, as follows:
I'm not sure if this is exactly what you are looking for, but it might be a good place to start.
This will return the playerID
_videoPlayer = player.getModule(APIModules.VIDEO_PLAYER) as VideoPlayerModule;
_videoPlayer.getID()
You can retrive aditional parameters from player configuration parameters: http://support.brightcove.com/en/video-cloud/docs/player-configuration-parameters
var playerOptions:Object = _experienceModule.getConfiguredPropertiesForID("videoPlayer");
var isAutostars:Boolean = (playerOptions["autoStart"]);