jsarber Posted November 14, 2009 Report Share Posted November 14, 2009 (edited) I have a flash player in a div that automatically starts playing when the page is loaded. I keep it fixed it the corner so people can quickly find it and turn it off if they want. Here's what I'm looking to do: 1) I would like to give them the option before they navigate away from the page to make the player pop up in a new window so that they may continue listening without interruption. Perhaps I could put the option right above the player. 2) I would also like to make the div collapsible or closable and stay that way as folks navigate through the site for their convenience. That means the player would cease playing as well. Is this possible? If so, how? Any help would be greatly appreciated. I've been Googling for hours to no avail. The website if you need it is http://jeremysarber.com Edited November 14, 2009 by jsarber Quote Link to comment Share on other sites More sharing options...
lm Posted November 14, 2009 Report Share Posted November 14, 2009 I haven't noticed any player yet on your page may be because it was loading too slow. But anyway you can consider to put the payer into the lightbox like this or similar - may be search for lightbox with standalone option? Quote Link to comment Share on other sites More sharing options...
jsarber Posted November 14, 2009 Author Report Share Posted November 14, 2009 Really? I have never had any trouble loading it and neither has anyone else that I've known about. Hmmm... I guess I don't understand exactly what a lightbox is or what it will do for me? Quote Link to comment Share on other sites More sharing options...
lm Posted November 14, 2009 Report Share Posted November 14, 2009 it is not that I experience some trouble loading (the loading time is about 30-40sec)- it is better that sound from the website not jump on a visitor right away ( as a downside of "autoplay" option) As for lightbox - rather not lightbox in your case but js opening of popup window with standalone player - like described here for example. Quote Link to comment Share on other sites More sharing options...
jsarber Posted November 14, 2009 Author Report Share Posted November 14, 2009 Let me try something different. Basically, I only wanted the player to start automatically when the show is live anyway. All these extra measures were to keep visitors from getting annoyed. Is is possibly to only autostart when the show is live? Here's the player: Quote Link to comment Share on other sites More sharing options...
lm Posted November 15, 2009 Report Share Posted November 15, 2009 as for now, you have autostart=true in the code so the player will always start the playlist. You will need some script snippet to let the player start on event. So i think could be an idea to look into podcasts here. You can pick some tips on how to manage that from social networking sites like ustream for example ( boagworld podcast use it.) Quote Link to comment Share on other sites More sharing options...
jsarber Posted November 15, 2009 Author Report Share Posted November 15, 2009 I'll look into it. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.