• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Player playlist issue

Started by x5000x,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

x5000xTopic starter

@Mario & Alex,

Can we please get this player playlist issue fixed.
It does not work correctly on bigger resolution like 1920 x 1080px, but if I refresh page where i watch video couple of times then it  gets corrected but if i also change resolutions down to 1360 x 768px it works every time. Also on Internet Explorer works on any resolution all the time.

Firefox - Not working correctly
Chrome - Not working correctly
Safari - Not working correctly
Opera - Not working correctly

Internet Explorer - Working OK

See attached image.

Thanks!
  •  

Marius P.

I have no way to test it for now, but in tpl/main/js/phpvibe_app.js

there is this line:

var vh = $("#video-wrapper").height();



Maybe on large display jquery gets the height wrong..
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

x5000xTopic starter

Quote from: @Mario on
I have no way to test it for now, but in tpl/main/js/phpvibe_app.js

there is this line:

var vh = $("#video-wrapper").height();



Maybe on large display jquery gets the height wrong..


@Mario,

Changed from:
var vh = $("#video-wrapper").height();
	if($is_mobile) { 	
	  $('.scroll-items').slimScroll({height:180});
	  $('.items').slimScroll({height:180});
	   $('.video-player, #video-content').removeAttr("style");
	   $('.video-player, #video-content').attr('style','min-height:200px;');
	  } else {
	  $('.scroll-items').slimScroll({height:340});
	  $('.items').slimScroll[b]({height:vh});[/b]
	  }


To:
var vh = $("#video-wrapper").height();
	if($is_mobile) { 	
	  $('.scroll-items').slimScroll({height:180});
	  $('.items').slimScroll({height:180});
	   $('.video-player, #video-content').removeAttr("style");
	   $('.video-player, #video-content').attr('style','min-height:200px;');
	  } else {
	  $('.scroll-items').slimScroll({height:340});
	  $('.items').slimScroll[b]({height:590});[/b]
	  }


Now seems to work.
  •  

x5000xTopic starter

@Mario,

This fixed the problem on bigger display now on smaller display there is alot empty space under the player.

Is there any other suggestion?
  •  

major48

I am just trying to totally get rid of that playlist box. The video's that it shows are directly under it in the related videos anyway. I am just trying to find the correct file to edit to do that
  •  

PHPVibe A.

Quote from: major48 on
I am just trying to totally get rid of that playlist box. The video's that it shows are directly under it in the related videos anyway. I am just trying to find the correct file to edit to do that

video.php in tpl/main
But you need to re-work a bit the grid, like it was in 3.3 version.

PHPVibe A.

Quote from: x5000x on

@Mario,

Changed from:
var vh = $("#video-wrapper").height();
	if($is_mobile) { 	
	  $('.scroll-items').slimScroll({height:180});
	  $('.items').slimScroll({height:180});
	   $('.video-player, #video-content').removeAttr("style");
	   $('.video-player, #video-content').attr('style','min-height:200px;');
	  } else {
	  $('.scroll-items').slimScroll({height:340});
	  $('.items').slimScroll[b]({height:vh});[/b]
	  }


To:
var vh = $("#video-wrapper").height();
	if($is_mobile) { 	
	  $('.scroll-items').slimScroll({height:180});
	  $('.items').slimScroll({height:180});
	   $('.video-player, #video-content').removeAttr("style");
	   $('.video-player, #video-content').attr('style','min-height:200px;');
	  } else {
	  $('.scroll-items').slimScroll({height:340});
	  $('.items').slimScroll[b]({height:590});[/b]
	  }


Now seems to work.

You forced it to 590px height. but for somebody with a normal display it will look bad.

PHPVibe A.

Quote from: x5000x on
@Mario,

This fixed the problem on bigger display now on smaller display there is alot empty space under the player.

Is there any other suggestion?

window.height() + if combination for when height is bigger than...this theoretically would work, we can't check (no display that large), but when we will we will check and provide.

x5000xTopic starter

Quote from: Alexander on
window.height() + if combination for when height is bigger than...this theoretically would work, we can't check (no display that large), but when we will we will check and provide.

Alex,

What code should I replace with which code, to get it to work on all screen sizes?
  •  

PHPVibe A.

I'll tell you when I will be able to test it. Sorry, you are asking me to diagnostic something I am unable to check.

x5000xTopic starter

Alex,

This issue with playlist is getting annoying.
Upgraded from 3.5 to 3.6 now there is this problem on high resolution and small resolution. We need to get this resolved, many people are complaining about this.
  •  

Similar topics (7)