When you click fullscreen then go out of fullscreen the fullscreen, maximize and information buttons disappear and do not return (these are at the top left of the player).

Comments

andrewadams2099’s picture

Ok a bit more information which might help. If you exit fullscreen using the esc key on the keyboard the three buttons won't disappear.
The buttons only disappear when you return from fullscreen using the fullscreen button via the mouse.

markgrostick’s picture

Version: 7.x-1.x-dev » 6.x-1.0-rc8

Im having the same issue as well. Not only will the video be hidden until you go into full screen mode the buttons disappear when you get out of fullscreen mode using the mouse.

andrewadams2099’s picture

Version: 6.x-1.0-rc8 » 7.x-1.x-dev
Priority: Major » Critical

The issue is with the OSMPlayer. All the top buttons are being removed after coming out of fullscreen using the button. The reason it's present in the 6.x-1.0-rc8 version is that the javascript for the player is probably the same. The UI bug is probably present on every version that uses the osmplayer.

andrewadams2099’s picture

Not an expert in javascript l but think I have a possible fix. I don't know the exact line of javascript or which jquery function does it but when you exit fullscreen using the button the mediatitlelinks div get the style "display: none" which of course is bad and hides all the buttons.
I changed one line in "osmplayer_default_titlebar.tpl.php" and the fullscreen, maximize and info buttons stayed visible upon exiting fullscreen using the button.

change the following line in osmplayer_default_titlebar.tpl.php from...

<div id="<?php print $params['prefix']; ?>mediatitlelinks">

to

<div id="<?php print $params['prefix']; ?>mediatitlelinks" style="display: block;">

The buttons are no longer disappearing so I am happy. Would this be a possible fix for this bug? or does someone need find the line in the javascript which is making the div hide???

travist’s picture

Status: Active » Fixed

I think I found the culprit of this. Please try the latest DEV version and let me know if this fixes this problem.

andrewadams2099’s picture

Yep whatever you did fixed it thanks :)

Automatically closed -- issue fixed for 2 weeks with no activity.