3
votes

In Brightcove documentation, they mention ENTER_FULLSCREEN and EXIT_FULLSCREEN events.

I couldn't find those events in the 'brightcove.api.events.ExperienceEvent' object. I had to use browsers full screen events instead:

       jQuery(document).on('webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange',fullScreenChangeHandler);

I feel it's a hack, because Brightcove documentation states they do support player fullscreen events. Besides, on browser fullscreen event, I don't know if the video player entered or exited the full screen mode.

Is there any videoplayer full screen events for Brightcove HTML5 player ?

1

1 Answers

0
votes

The HTML5 smart player doesn't have full screen events. The doc links you have are for an older player API version for the Flash player only.

If you add a js plugin to a smart player, it will run inside the HTML5 player iframe and be able to listen to the video element's full screen events.