• Welcome to PHPVIBE Forums. Please log in.
avatar_Marius P.

[ Video Sharing CMS v4 ] Plugin: Slider

Started by Marius P.,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Marius P.Topic starter

A pretty fit slider I was able to prepare today for your guys with Alexander's help!

Presentation video:  https://www.youtube.com/embed/_ny6I4VVaFY

Plugin: http://get.phpvibe.com/buy?id=30

Works with all types of videos, some player's like chameleon may cause alignment problems.

In this case, in slider/plugin.php find

var eh = Math.round((ew/16)*9) + 20;


Change + 20 to a value that fits perfectly for you.
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!
  •  

maldboy

Quote from: @Mario on
A pretty fit slider I was able to prepare today for your guys with Alexander's help!

Presentation video:  https://www.youtube.com/embed/_ny6I4VVaFY

Plugin: http://get.phpvibe.com/buy?id=30

Works with all types of videos, some player's like chameleon may cause alignment problems.

In this case, in slider/plugin.php find

var eh = Math.round((ew/16)*9) + 20;


Change + 20 to a value that fits perfectly for you.
works with hosted videos? because i use only host videos
  •  

spanraj

Hi, alex.

I'm getting this error while using the slider

A username and password are being requested by http://work.phpvibe.com. The site says: "demo2"
  •  

liamgibbins

@spanraj I am also getting this error
  •  

liamgibbins

  •  

PHPVibe A.

Sorry guys, my colleagues have packed a bad test version.
It's fixed, please redownload http://get.phpvibe.com/buy?id=30

Just re-upload it and it will be fine.

PHPVibe A.

Quote from: maldboy on
works with hosted videos? because i use only host videos

Works.

videonavy

Good one Mario! Can I select Random videos? Watching the intro video, I did not see it in the list. Thanks.
  •  

PHPVibe A.

Quote from: videonavy on
Good one Mario! Can I select Random videos? Watching the intro video, I did not see it in the list. Thanks.

Didn't add that, because cache will show the same videos for hours anyways, only for logged users it will be random.

videonavy

Quote from: Alexander on
Didn't add that, because cache will show the same videos for hours anyways, only for logged users it will be random.

Including Random selection for all users will be appreciated.

More so, I would recommend a plugin that could be set to authomatically clean cache at a pre-determined intervals.
  •  

PHPVibe A.

Random is pointless, and won't work for guests. It will just change videos once every x hours (cache time).
Not sure why you don't try to think this through...plus as I have noticed on my site random blocks are a deal breaker, they always get old non-existing Youtube videos, I hate that, goes bad.
But technically can be added fast, just, it would still be pointless and make clients pissed cause videos don't change for guests :)

videonavy

Quote from: Alexander on
Random is pointless, and won't work for guests. It will just change videos once every x hours (cache time).
Not sure why you don't try to think this through...plus as I have noticed on my site random blocks are a deal breaker, they always get old non-existing Youtube videos, I hate that, goes bad.
But technically can be added fast, just, it would still be pointless and make clients pissed cause videos don't change for guests :)

I agree with you but there should always be a work around for the issue. Since it is an option, I recommend adding it. More so, it could be configured such that video older than certain day(s)/week(s)/month(s) should be excluded. Make your plugin feature-rich and let the clients determine which to use. My opinion though!
  •  

PHPVibe A.

There is no workaround, you can't exclude page's parts with a full page cacher which trigger before the page.
The only way would be to not cache at all the homepage...which is very heavy if filled with videos.

videonavy

Quote from: Alexander on
There is no workaround, you can't exclude page's parts with a full page cacher which trigger before the page.
The only way would be to not cache at all the homepage...which is very heavy if filled with videos.

Flexibility! You have already mentioned 1 workaround "disabling homepage caching". If you have this as an option, that will also be OK. Users will determine what they want in their Configuration. Thanks.
  •  

PHPVibe A.

I've already provided several times how to remove cache, restrict cache, etc...I don't have to do it in every topic.

Luiggy

Hi,

I'm wondering how can I make the slider smaller so I can include my 300x250 ad beside to the slider.

Thanks!!
  •  

PHPVibe A.

Hi,

plugins/slider/plugin.php

echo '<div class="row-fluid block player-in-list ">
<div id="video-content" class="span77">


This renders full, if you change this to
<div class="row-fluid">
<div class="span8 player-in-list ">


you can trow an

<div class="span4">
</div>
</div>


after the slider to show in the right, just make sure the spans don't pass 12 in combination ( ex : span6 + span6 , span5 + span7)

Luiggy

Hi,

I wanted the slider to show in the left and my ad to the right. Thanks!!
  •  

PHPVibe A.

Hi, please see this to understand the grid system used in PHPVibe http://getbootstrap.com/2.3.2/scaffolding.html#gridSystem
Basically what I gave you it's all you need...

awsjulio

Does it really not work with JWPlayer? I just purchased this, works if YouTube Player, when I switch to JWPlayer it doesn't work. Cleared cached too btw.
  •  

Luiggy

Hi,

Thank you for the information!!
  •  

PHPVibe A.

Quote from: awsjulio on
Does it really not work with JWPlayer? I just purchased this, works if YouTube Player, when I switch to JWPlayer it doesn't work. Cleared cached too btw.


Show me a link, works fine with jwplayer 6 for me.

awsjulio

Sent you a link and a settings screen shot.
  •  

PHPVibe A.

Quote from: awsjulio on
Sent you a link and a settings screen shot.

Ok, the slider is fine, the embed page don't work on your setup (no jwplayer js files, maybe older file?).

Luiggy

Hi,

Can you please help me with these code so I can just copy and paste.

I tried many times to change these codes with which you gave me but did not work.  :( Also where can I insert the ad code? _ad('0','sliderads').

Thanks!!!



  •  

Similar topics (7)