Option to no repeat forever and/or disable audio by user choice
Permalink Browser Info Environment
Hi, just installed on a site and what I've to say is that's a bomb!
BUT
1) If someone lefts a page tab open (like in all modern browsers) and goes somewhere else in another tab, the video/audio repeats forever. This can be annoying. What about a stop button and/or a stop audio button?
2) I've tried to define a block id via "CSS" design options, and added a youtubebackground block pointing at that id (naturally, "after" it)...but it doesn't work as expected. Video goes in background in a somehow random location (near the top of the page). I suppose that this happens because of ID blocks are generated dynamically and something goes wrong in managing precedences...
In every case - truly a good job!
BUT
1) If someone lefts a page tab open (like in all modern browsers) and goes somewhere else in another tab, the video/audio repeats forever. This can be annoying. What about a stop button and/or a stop audio button?
2) I've tried to define a block id via "CSS" design options, and added a youtubebackground block pointing at that id (naturally, "after" it)...but it doesn't work as expected. Video goes in background in a somehow random location (near the top of the page). I suppose that this happens because of ID blocks are generated dynamically and something goes wrong in managing precedences...
In every case - truly a good job!
Type: | Discussion |
---|---|
Status: | New |
HI,
How are you getting on with the no repeat option?
How are you getting on with the no repeat option?
I've looked into it and the current script doesn't have any support for controlling the looping. If you wanted to take a stab at it, the YouTube API doco is here:http://code.google.com/apis/youtube/js_api_reference.html...
JB
JB
Hi. Great add-on, thanks! I'm also looking for a mute button - I'll monitor this post to see if/when it arrives.
You've raised a good question about the background sound. I'll look into it and see if that option can be integrated into a future version of the add-on.
For the element issue you're describing, it may be thrown out due to the template. Try taking a look at the source code of the demo on our site:
http://c5extras.com/add-ons/youtube-background/example-3/...
If you wanted to send through the URL where this problem is occurring, I'll take a closer look for you.
JB