How best use AJAX to not interrupt media player while allowing other navigation?

R

Ronald S. Cook

I want to create an ASP.NET website wherein an embedded Windows Media Player
is displayed throughought the web session and new media files are played
depending on what the user clicks elsewhere.

I'm new to AJAX, but am starting to understand using the ScriptManager and
UpdatePanel controls.

So, would I have an UpdatePanel for both the Windows Media Player and then
one for "everything else"? How would I (or would I want to) utilize Master
pages so that header and footer would be the same? Or, maybe I couldn't use
Master Pages as I'd want the player to not be interrupted as the user
clicked to a different page.

Thanks for any guidance,
Ron
 
L

Lloyd Sheen

Ronald S. Cook said:
I want to create an ASP.NET website wherein an embedded Windows Media
Player is displayed throughought the web session and new media files are
played depending on what the user clicks elsewhere.

I'm new to AJAX, but am starting to understand using the ScriptManager and
UpdatePanel controls.

So, would I have an UpdatePanel for both the Windows Media Player and then
one for "everything else"? How would I (or would I want to) utilize
Master pages so that header and footer would be the same? Or, maybe I
couldn't use Master Pages as I'd want the player to not be interrupted as
the user clicked to a different page.

Thanks for any guidance,
Ron

I have done exactly what you are trying.

The mininum you need is one update panel for the player (I have my own UI so
I have actual player hidden), one update panel if you have a navigation
(select song(s)) and one for the results of the navigation.

If you want to be able to select songs to play you will have to use
Javascript to inject the code for the player on a song by song basis as the
player is not good at handling script commands.

You will want to just have the page load and then using the update panels
load new information so that you do not interrupt the playing of songs.

Hope this helps and I will be monitoring the forums so if you need more help
let me know.

Lloyd Sheen
 
R

Ronald S. Cook

Thanks Llyod!... I'll get started that way.


Lloyd Sheen said:
I have done exactly what you are trying.

The mininum you need is one update panel for the player (I have my own UI
so I have actual player hidden), one update panel if you have a navigation
(select song(s)) and one for the results of the navigation.

If you want to be able to select songs to play you will have to use
Javascript to inject the code for the player on a song by song basis as
the player is not good at handling script commands.

You will want to just have the page load and then using the update panels
load new information so that you do not interrupt the playing of songs.

Hope this helps and I will be monitoring the forums so if you need more
help let me know.

Lloyd Sheen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top