Need Help with IntegerGreaterThan(info,number)
#1
I'm trying to show a video only if it's a trailer. So I figured if the duration of a video is more than a certain time (since trailers usually are less than 3 minutes)..it won't show the videowindow.

I'm having trouble with the syntax...what would be the correct way of specifyign this. I was reading the wiki and found this:


IntegerGreaterThan(info,number)
Returns true if the value of the infolabel is greater than the supplied number.
Example:
IntegerGreaterThan(ListItem.Year,2000)



So In my case what would it be?

I tried:

IntegerGreaterThan(Videoplayer.Duration,3) and it doesn't work. I also tried all sorts of varitations.

IntegerGreaterThan(Videoplayer.Duration,180000)
IntegerGreaterThan(Videoplayer.Duration,00:03:00)
which dont seem right at all.

Please help...thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Need Help with IntegerGreaterThan(info,number)0