Animating home page with gifs or video? (1 Viewer)

sa_ddam213

Retired Team Member
  • Premium Supporter
  • March 3, 2009
    312
    281
    Canterbury
    Home Country
    New Zealand New Zealand
    ok seems simple just put all animation images in skin\media folder not in seperate one and they will cache fine . BTW runs way faster on mine so with low RAM should be sweet . But have to rewite all my animation xml's now :(
     

    p13man

    Portal Pro
    November 20, 2008
    50
    2
    Home Country
    From Bleazle: Are you sure? I thought the last one (i.e. "3")was how many seconds it takes for the animation to run. When I had it set to 0.5 the animation finished too quick so I changed it to 1.5 and it took a bit longer - that's all I did as far as playing around with the settings is concerned so I'm happy to be proven wrong here!

    No, I'm not sure, in fact, your guess could well be better than mine.
    One of the three must be times to repeat, yes, and one or two will be needed for frame timing. If '3' does what you first thought then that's all that will be needed for speed so what does the other do? If my guess is right and '3' is 'frames per second' that still leaves the Q of what the third one is for.
    Where's the documentation when you need it?
    :)
     

    Bleazle

    Portal Pro
    July 14, 2007
    1,122
    257
    Pukekohe
    Home Country
    New Zealand New Zealand
    ok seems simple just put all animation images in skin\media folder not in seperate one and they will cache fine . BTW runs way faster on mine so with low RAM should be sweet . But have to rewite all my animation xml's now :(

    Great!! I love it when the answer is easy. I'll give this a go as soon as I can get the wife away from the HTPC...Will post my findings once I've given it a go (fingers crossed!!)

    What do you use to write your XML in? I use Dreamweaver - it's great - "sitewide" Find and Replace is a real time saver. If you're only editing a few pages even Find and Replace in MSWord would be OK wouldn't it?...

    ...One of the three must be times to repeat, yes, and one or two will be needed for frame timing. If '3' does what you first thought then that's all that will be needed for speed so what does the other do? If my guess is right and '3' is 'frames per second' that still leaves the Q of what the third one is for.
    Where's the documentation when you need it?
    :)

    Documentation? What's that?? :D

    "Repeat" is covered by this <RepeatBehavior>1</RepeatBehavior> in the code that sa_ddam213 provided to animate the Home screen hover images. The code that I posted above has no repeat tag - it just keeps looping (which is what the equaliser I put together does).

    The 3rd one can't be frames per second because if it was increasing the number (from 0.5 to 1.5 as I did) would speed up the animation (because it is made up of a fixed number of frames) but it doesn't, it lengthens it. Could it be as simple as H:M:confused:econds?

    Dave
     

    p13man

    Portal Pro
    November 20, 2008
    50
    2
    Home Country
    Unbelievable!
    Gifs work too. I just played around with the gif in my info panel on the left. This worked:
    <control>
    <description>Animated Gif</description>
    <type>image</type>
    <id>1</id>
    <posX>250</posX>
    <posY>510</posY>
    <width>100</width>
    <height>100</height>
    <texture>p13man.gif</texture>
    </control>
    That might make life easier for some things - image quality matters less in an animation than a static image and the gif shown is less than 60K. It's a small image, I know, but even scaled up it beats the hell out of PNG24 or even PNG8 in terms of file size. Good news!
     

    Bleazle

    Portal Pro
    July 14, 2007
    1,122
    257
    Pukekohe
    Home Country
    New Zealand New Zealand
    Unbelievable!
    Gifs work too. I just played around with the gif in my info panel on the left. This worked:
    <control>
    <description>Animated Gif</description>
    <type>image</type>
    <id>1</id>
    <posX>250</posX>
    <posY>510</posY>
    <width>100</width>
    <height>100</height>
    <texture>p13man.gif</texture>
    </control>
    That might make life easier for some things - image quality matters less in an animation than a static image and the gif shown is less than 60K. It's a small image, I know, but even scaled up it beats the hell out of PNG24 or even PNG8 in terms of file size. Good news!

    Does it cache OK?
     

    sa_ddam213

    Retired Team Member
  • Premium Supporter
  • March 3, 2009
    312
    281
    Canterbury
    Home Country
    New Zealand New Zealand
    i write all my xml in notepad "oldskool" maybe i should upgrade to a program such as dreamweaver or is there a better one


    Copy , Paste , Delete ,Copy , Paste , Delete works fine for me :) lol
     

    Bleazle

    Portal Pro
    July 14, 2007
    1,122
    257
    Pukekohe
    Home Country
    New Zealand New Zealand
    i write all my xml in notepad "oldskool" maybe i should upgrade to a program such as dreamweaver or is there a better one

    I don't think you'll find anything much better than Dreamweaver (there are other equivalent programmes though) - it's overkill if you're only going to use it for playing around with MediaPortal though. If you're not planning on changing too much code just find a free HTML editor - I don't know what's around because I've used DW for years now but before I had it I used a free one.

    Another great tool is Directory Opus 9 - it replaces Windows Explorer but is about 122.5 times better - that's just a guess mind you - it could be 123 times better :D :D

    Dave
     

    p13man

    Portal Pro
    November 20, 2008
    50
    2
    Home Country
    Does it cache OK?

    No. Can't see it in any of the packed graphics files.
    However, if used to animate logos or small objects it won't drain resources by much and it's another string to the designer's bow.
     

    Codeine

    Portal Member
    February 10, 2009
    7
    0
    Home Country
    United Kingdom United Kingdom
    Freeware Editor

    Hey All,

    By far the best editor for XML, XHTML, PHP, HTML etc... is PSPad. I've used it for a long time for PHP and LUA (World of Warcraft Mods) and has full syntax highlighting so you can spot your mistakes easily. Best of all it's Freeware :)

    Regards,

    - Codeine
     

    joystick

    MP Donator
  • Premium Supporter
  • January 26, 2006
    892
    39
    Home Country
    Germany Germany
    hey guys, i've just been following your discussion lately and I was wondering, if one could achieve an PS3 like background animation in MP,
    'cause I really like the looks of the PS3 animation.

    cheers

    joystick
     

    Users who are viewing this thread

    Top Bottom