Reply
New Member
Milyoni
Posts: 3
Registered: ‎11-30-2011
0 Kudos
Accepted Solution

Playlist player that goes "full screen".

In looking over the templates, there are some great ones for using with playlists. But they all seem to keep the playlist displayed during playback. Is there a template for a playlist player that will hide or overlay (scale up to cover?) the playlist?

 

Ideally I'd like to only see the playlist when the video is stopped or paused.

 

Thanks.

Administrator
BC-Robert
Posts: 237
Registered: ‎02-12-2010
0 Kudos

Re: Playlist player that goes "full screen".

Hi,

 

I showed one way to do this in this blog post: http://blog.brightcove.com/en/2011/06/auto-resizing-player-beml

 

If you just wanted to make the list disappear without resizing the player, you could just add the attribute visible="{!videoPlayer.playing}" to the List tag, or its surrounding container.

 

Robert

Visitor
ludovic
Posts: 8
Registered: ‎01-09-2012
0 Kudos

Re: Playlist player that goes "full screen".

Hi Robert, your tutorial is great but how do you deal when the player is in fullscreen mode?
In your example upon pausing the video, the window stays in full screen.

 

Is there a way to either force the player to exit fullscreen or to prevent the resize when in fullscreen?

Thanks

Moderator
BC-Mikey
Posts: 251
Registered: ‎12-09-2008
0 Kudos

Re: Playlist player that goes "full screen".

Hello,

 

Unfortunately, it doesn't seem like this is possible using only BEML. However, with using Robert's template as a basis, it would be relatively easy to attach some additional functionality via the Player API that would listen for when Full Screen mode was entered and exited at which point you could use 'setIncludeInLayout()' to False for both the List component and the Banner Image.

 

The Player APi provides much more flexibility around customizing the interaction and functionality for the Player whereas BEML should primarily be used for the visual arrangement, look, and feel of the Player.

 

Thank you,

 

-Mikey