Author Topic: Default Video for Snaps Q: ?  (Read 6571 times)

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Default Video for Snaps Q: ?
« on: August 28, 2016, 09:57:39 AM »
In your layout when you add ,, snap.png  or marquee.png  it will show up if you games are not set up with an image assigned to it.

Q: is there a way to have a generic "video"  show in the "snaps" instead of image?

I tried "snap.mp4,  and  video.mp4"   but does not work!

Thanks for any info on this.
help a friend....

atrfate

  • Full Member
  • ***
  • Posts: 86
    • View Profile
Re: Default Video for Snaps Q: ?
« Reply #1 on: August 28, 2016, 12:31:37 PM »
if you place the artwork default into the layout folder it will default when no artwork is found

fe.add_image(wheel.png


/Attractmode/layouts/nameoflayout/wheep.png

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: Default Video for Snaps Q: ?
« Reply #2 on: August 28, 2016, 07:55:12 PM »
i don't think this quite answers the Question,,,,      .....i know this....but can it default to a "video"?      not a .png         any one...   Thanks.
help a friend....

kent79

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Re: Default Video for Snaps Q: ?
« Reply #3 on: August 28, 2016, 08:16:34 PM »
Try it   :)

snap.video_flags = Vid.ImagesOnly;

atrfate

  • Full Member
  • ***
  • Posts: 86
    • View Profile
Re: Default Video for Snaps Q: ?
« Reply #4 on: August 29, 2016, 04:20:59 AM »
i don't think this quite answers the Question,,,,      .....i know this....but can it default to a "video"?      not a .png         any one...   Thanks.
It fully answers the question any unfound artwork will default to whatever is in the layout folder this includes video so if your "video" art is snap
fe.add_artwork("snap" 0.0.0.0)
then when the snap is not found it will play the video titled snap,mp4 ect.

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: Default Video for Snaps Q: ?
« Reply #5 on: August 29, 2016, 08:08:40 AM »
This makes scene to me know and it works  yayy   
thanks you for explaining to me...


// video snap----------------------------------------------------------------
local snap = FadeArt("snap", flx*0.650, fly*0.460, flw*0.270, flh*0.400 )
// my default video if none found
fe.add_artwork("snap" , flx*0.650, fly*0.460, flw*0.270, flh*0.400 )
« Last Edit: August 29, 2016, 08:13:10 AM by jedione »
help a friend....