473,325 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

floating/drag-able music player

Hi,

I am in the process of improving my website (http://davidloran.com) and was wondering if someone had an idea to create a "floating" music player that could be dragged around on the site's pages and be always present even when going from one page to another, with the option to drag it out of the site (a bit like the google chat system).

A download option would also be nice but I guess that's not the biggest of the job ;-)

Any comments, advices, offers, links etc welcome

Thx
Jan 15 '10 #1
6 2994
My idea would be to use frames. You have a music player on the main page, then insert an IFRAME and you could drag the player around even if the visitor followed a link out of the site (on the IFRAME, which is the size of the window). But it wouldn't work for if they changed the location in the title bar. Use flash for the music player and put it on a draggable layer - there's heaps of internet examples of how to do this.
Jan 16 '10 #2
acoder
16,027 Expert Mod 8TB
I would avoid frames if possible. Try keeping in a container element. For the actual player, you could use Flash as suggested. Try something like SoundManager 2. If you need to keep the current file being played and its position, you can set these values in a cookie when the page is being unloaded.
Jan 31 '10 #3
thx acoder, I'll give the SM2 a try. Although at first glance it looks a bit complicated for my level of knowledge but I'll come back if I need your help ;-)
Jan 31 '10 #4
The problem with a container element is that if somebody leaves your site and then leaves the site they leave, your player will disappear. Frames let you see the player longer. Of course they're annoying to users, but then so is a music player that is "always present even when going from one page to another" - especially when going to a page beyond your website.
Jan 31 '10 #5
acoder
16,027 Expert Mod 8TB
I assumed "one page to another" was within the site.

I agree that a music player can be annoying, but if it's restricted to the site and users can switch it off/hide it, it'd be OK.
Feb 1 '10 #6
lol thx laztheloser, good feedback! But as acoder said: "if it's restricted to the site and users can switch it off/hide it, it'd be OK".

From my point of view, if the users comes to my site and starts listening to some music, it surely assumes that the visitor is somewhat interested to what he's listening to and might want to carry on listening...
Feb 1 '10 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ryan Stewart | last post by:
If you don't want to read this post because of its length, I understand. I've spent two and a half days on this problem and have a good deal of information to relate. And this is kind of a long...
687
by: cody | last post by:
no this is no trollposting and please don't get it wrong but iam very curious why people still use C instead of other languages especially C++. i heard people say C++ is slower than C but i can't...
2
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
3
by: Ajay Krishnan Thampi | last post by:
I have a slight problem implementing 'drag and drop' from a datagrid to a tree-view. I have pasted my code below. Someone please advice me on what to do...pretty blur right now. ==code== ...
2
by: Abhishek | last post by:
I am creating an application in C# wherein I require to add a toolbar. that is no problem and that is done as well. What I need now is that the toolbar that i insert should be a floating toolbar...
6
by: jojobar | last post by:
Hello, I look at the asp.net 2.0 web parts tutorial on the asp.net web site. I tried to run it under firefox browser but it did not run. If I want to use this feature in a commercial product...
6
by: TyBreaker | last post by:
What is the best way to create a menu bar like the Office menu bar ie one that can dock to the four corners of the screen? Is it a standard windows form or is it some other more specialised...
3
by: vunet.us | last post by:
Hello, I have a floating div which I drag all over the page. I want to enable window.scrollBy function when div is dragged close to top or bottom of the page, so users would drag this div to the...
39
by: rembremading | last post by:
Hi all! The following piece of code has (for me) completely unexpected behaviour. (I compile it with gcc-Version 4.0.3) Something goes wrong with the integer to float conversion. Maybe somebody...
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.