Page 1 of 1

Need help with Nyx video tease

Posted: Thu Sep 09, 2010 12:27 am
by SLAVEBOY037
Hello,

I am trying to add multiple videos into 1 flash tease with Nyx amd running into a problem.

I first used this script:

-----------------------------------------------------------------------------
1516#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Instructions , and some more instructions</FONT></P></TEXTFORMAT>',
text(<img src="http://www.youtube.com/v/R7PsjqYL6EU?fs ... idth="1280" height="770"></img>),
delay(45sec, 1517#,style:hidden)
);

1517#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Instructions , and some more instructions</FONT></P></TEXTFORMAT>',
text(<img src="http://www.youtube.com/v/AC8Q8DGLy-o?fs ... idth="1280" height="770"></img>),
delay(68sec, 1518#,style:hidden)
);

1518#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Instructions , and some more instructions</FONT></P></TEXTFORMAT>',
text(<img src="http://www.youtube.com/v/ZimWHZbWMps?fs ... idth="1280" height="770"></img>),
delay(71sec, 1519#,style:hidden)
);

1519#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Instructions , and some more instructions</FONT></P></TEXTFORMAT>',
text(<img src="http://www.youtube.com/v/rsnLiVaHB9o?fs ... idth="1280" height="770"></img>),
delay(60sec, pause29#,style:hidden)
);

-----------------------------------------------------------------------------

When i did this only the 1st video loaded, and it didnt go to 2nd video.
First I thought i scripted the other video pages wrong, but after refreshing the tease editor I could also load up an other one. But everytime I loaded 1 video, that video is the only one working.
This told me the individual pages are good but somehow after one video loads, the loader wont show any other video. To make sure this wasnt a Nyx editor bug I published a test. But also in the test only 1 video would load.. The next page comes up, but only shows the test, no video.

After that I could think of only 1 more thing; maybe they cant be in sequal, because the last page (1519) directs perfectly to next page (pause29). So i edited the code and put buttons inbetween:

TEST SCRIPT:
-----------------------------------------------------------------------------
start#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">just testing sorry.</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
go(1516#)
);

1516#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Instructions , and some more instructions</FONT></P></TEXTFORMAT>',
text(<img src="http://www.youtube.com/v/R7PsjqYL6EU?fs ... idth="1280" height="770"></img>),
delay(49sec, page7#,style:hidden),
);

1517#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Instructions , and some more instructions</FONT></P></TEXTFORMAT>',
text(<img src="http://www.youtube.com/v/AC8Q8DGLy-o?fs ... idth="1280" height="770"></img>),
delay(68sec, page8#,style:hidden),
);

1518#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Instructions , and some more instructions</FONT></P></TEXTFORMAT>',
text(<img src="http://www.youtube.com/v/ZimWHZbWMps?fs ... idth="1280" height="770"></img>),
delay(71sec, page9#,style:hidden),
);

1519#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Instructions , and some more instructions</FONT></P></TEXTFORMAT>',
text(<img src="http://www.youtube.com/v/rsnLiVaHB9o?fs ... idth="1280" height="770"></img>),
delay(60sec, pause29#,style:hidden),
);

pause29#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">bye</FONT></P></TEXTFORMAT>',
pic("no-1.jpg")
);

page7#page(
'',
pic("no-1.jpg"),
go(1517#)
);

page8#page(
'',
pic("no-1.jpg"),
go(1518#)
);

page9#page(
'',
pic("no-1.jpg"),
go(1519#)
);

-----------------------------------------------------------------------------

But still.. only 1 video will load(even if i publish)
I also tried making the delay times longer, but no succes
Is it possible i have to unset something?
I hope someone can help me!
Thanks in advance.

Re: Need help with Nyx video tease

Posted: Thu Sep 09, 2010 1:30 am
by cumhardy
I had the same problem. It seems you can only have 1 video per tease.
Green explained why to me once but it went over my head a bit. Something about nyx not stopping the video when you navigate away from the page.

Not sure if there is a workaround :(

Re: Need help with Nyx video tease

Posted: Thu Sep 09, 2010 4:40 am
by seraph0x
I tinkered with it for a bit and yeah I have to concur with green, it seems the YouTube player won't load a second instance if he's included with this img tag method. What strikes me as odd though is that the same video again will actually load.

We are working on a next-generation webtease system where videos will be fully supported, but I can't give you a date on that yet.