julianos
Posts: 4
Joined: Tue Sep 16, 2008 5:33 pm

video keeps playing when popup closed

Hello,
Beginning with highslide, I am using the popup window, in the iframe configuration, to open an html page containing an embed video from youtube.
The problem I encounter is that, when I close the popup, the video keeps playing and we still can hear the sound of it, even though we don't see the window anymore.
Any lead?
Thanks a lot!
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Try setting hs.preserveContent = false.
julianos
Posts: 4
Joined: Tue Sep 16, 2008 5:33 pm

it works! Thank you :-)
barashka
Posts: 4
Joined: Fri Sep 26, 2008 2:01 pm

admin wrote:Try setting hs.preserveContent = false.
I did, but now movie doesn't play for the second time, unless i refresh the page
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Try inserting the YouTube video with Highslide's builtin Flash capabilities instead, like shown here: http://highslide.com/example-youtube.html
barashka
Posts: 4
Joined: Fri Sep 26, 2008 2:01 pm

admin wrote:Try inserting the YouTube video with Highslide's builtin Flash capabilities instead, like shown here: http://highslide.com/example-youtube.html
Sorry, i should mention that i have lots of .wmv videos and my not playable for the second time movie is here. Please, help!
http://www.aeispeakers.com/temp/video.html
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Okay, wmv videos must be put in an iframe to be displayed in Highslide. See http://highslide.com/forum/viewtopic.php?t=1602 .
barashka
Posts: 4
Joined: Fri Sep 26, 2008 2:01 pm

admin wrote:Okay, wmv videos must be put in an iframe to be displayed in Highslide. See http://highslide.com/forum/viewtopic.php?t=1602 .
Thanks, I fixed it, now everything works, except on close it is crushing Mozilla Firefox:
http://www.aeispeakers.com/temp/example-iframe.html
any idea?
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

No idea - when I opened the iframe there was no video there. Just a heading.
barashka
Posts: 4
Joined: Fri Sep 26, 2008 2:01 pm

admin wrote:No idea - when I opened the iframe there was no video there. Just a heading.
Sorry, I was plying with it and forgot to put it back. Could you please take a look now? Thanks
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

No problem here - I am running the latest Firefox on Vista.
willieram
Posts: 3
Joined: Fri Nov 28, 2008 3:44 pm

admin wrote:Try setting hs.preserveContent = false.
Hi, this worked wonderfully for my local xampp installation, but when I try it on the hosting, the same version (just zip and unzip on the server) it does not work... any ideas where to look at?? It's a if there is a difference in the way javascript is managed but have no clues to start debugging it.

Tks in advance, Willie.
willieram
Posts: 3
Joined: Fri Nov 28, 2008 3:44 pm

willieram wrote:Hi, this worked wonderfully for my local xampp installation, but when I try it on the hosting, the same version (just zip and unzip on the server) it does not work... any ideas where to look at?? It's a if there is a difference in the way javascript is managed but have no clues to start debugging it.
Well, today's my day... I realized the issue was actually that it worked OK with the domainname.com name but was failing with the www.domainname.com, so this would be easily fixed on the web server side by redirecting. Anyway I'd be curious for how would this be...

tks all!!

Return to “Highslide JS Usage”