loading a page within a frame problem

Talk about ManiaLink development in this forum

Moderator: NADEO

jonasredant
Posts: 39
Joined: 10 Aug 2014, 17:26

Re: loading a page within a frame problem

Post by jonasredant »

I don't know if you have the game installed, but if you do could you check tmtp:///:UNC , click on avatars, click on a specific one and his download pop-up works fine...
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: loading a page within a frame problem

Post by steeffeen »

it's fine for me

Image
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    jonasredant
    Posts: 39
    Joined: 10 Aug 2014, 17:26

    Re: loading a page within a frame problem

    Post by jonasredant »

    Thx for checking. I did the same thing with my code and it stops playing (I don't know his code, only tried to mimic it)
    This is my manialink: tmtp:///:jonas Maybe if you go to avatars and click the first one, you'll notice what goes wrong (submitted the code earlier)
    jonasredant
    Posts: 39
    Joined: 10 Aug 2014, 17:26

    Re: loading a page within a frame problem

    Post by jonasredant »

    I also have the problem when I reload the page directly from the menu: if I hit Avatars the first time, all goes well.
    If I hit Avatars the second time, all avatars stop playing. I've searched forums for a long time, can't find a suitable topic. I visited a lot of manialinks: some have the same problem, others managed to fix the problem. Now I can't continue at all :-( Here's the code from avatars.xml:

    Code: Select all

    <?xml version="1.0" encoding="UTF-8" ?>
    <manialink>
    <timeout>0</timeout>
    <type>default</type>
    <quad posn="-46 44.5 -31" sizen="92 14" image="http://jonasmanialink.freeiz.com/images/manialink_banner.jpg"></quad>
    <include url="http://jonasmanialink.freeiz.com/menu.xml" />
    <include url="http://jonasmanialink.freeiz.com/bar_onderaan.xml" />
    <quad posn="-64 48 -32" sizen="128 96" image="http://jonasmanialink.freeiz.com/images/achtergrond.jpg"></quad>
    
            <!--FRM=Avatars-->
            <frame posn="-36 26 0">
            <quad posn="0 0 -31" sizen="97 63.4" style="Bgs1" substyle="BgCardBuddy"></quad>
    	</frame> 
            
            <frame posn="-5.2 9 0">
            <video posn="-26.7 13.7 -30" sizen="9.3 7.7" data="http://jonasmanialink.freeiz.com/avatars/media/giggity.bik" play="1"></video>
             <quad posn="-27 14 -29" sizen="10 10" style="BgsChallengeMedals" substyle="BgSilver" manialink="http://jonasmanialink.freeiz.com/avatars/avatars_download_popup.xml"></quad>
              <label posn="-22 5.3 -28" sizen="8 2" halign="center" valign="center" textsize="1" textcolor="000F" text="test"></label>
            </frame>     	
    </manialink>
    I think it must have something to do with timeout or the fact that play="1" (enables autoplay) is executed again in the <video> tag. Maybe you have a better understanding of what happens.
    Post Reply

    Return to “ManiaLink”

    Who is online

    Users browsing this forum: No registered users and 1 guest