Display a label at certain times when video is playing?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
buges Offline
Fan
Posts: 305
Joined: Apr 2007
Reputation: 0
Location: UK
Post: #1
Im pretty certain this can be done?

Just like mtv vidzone etc.. display a label of the music video title & artist after 5 seconds of the video starting & 10 seconds before it ends.

How would i work out the times from VideoPlayer.Duration? & how would i retrigger my animations when the next music video starts?

Thanks
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,942
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #2
PHP Code:
!IntegerGreaterThan(VideoPlayer.Time,5

PHP Code:
!IntegerGreaterThan(VideoPlayer.TimeRemaining,10

[Image: sig_zps3af3b48e.jpg]
find quote
buges Offline
Fan
Posts: 305
Joined: Apr 2007
Reputation: 0
Location: UK
Post: #3
Thanks Hitcher

I 90% worked it out a few minutes after i posted lol

Slightly OT

is there something like $INFO[MusicPlayer.offset(1).Artist] but for music videos? the wiki doesn't list anything.

If not i know $INFO[VideoPlayer.PlaylistPosition] is there, so is any way to grab the info from that (somehow populate the playlist), so i can show the next music video artist & title?

Thanks again
find quote