473,378 Members | 1,314 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,378 software developers and data experts.

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

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
Jun 27 '08 #1
2 1667

"Ronald S. Cook" <rc***@westinis.comwrote in message
news:ED**********************************@microsof t.com...
>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

Jun 27 '08 #2
Thanks Llyod!... I'll get started that way.
"Lloyd Sheen" <a@b.cwrote in message
news:Ou**************@TK2MSFTNGP05.phx.gbl...
>
"Ronald S. Cook" <rc***@westinis.comwrote in message
news:ED**********************************@microsof t.com...
>>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
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: waisty vb.net rookie | last post by:
I'm writing an application, and I want to add sounds to it. How do I use windows media player's play function to play audio without allowing the windows media player window to appear Any entry...
1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
6
by: Craig Traxler | last post by:
I would like to create an instance of Windows Media Player that I can manipulate from within ASP.NET pages. Do I just create an instance of Windows Media Player from within the Application_OnStart...
1
by: indiangeeks | last post by:
Hi I wanna develop our own media player with my own skin. I reached it to some extent but unable fix its size and pick artist information from the playlist. My aim is to have a similar look and...
19
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
2
riptide2049
by: riptide2049 | last post by:
I really have a problem here. I have a code that is suppost to take the href of a link from the right class;value of a link maked toreturn false. the value is a Media file the file is sent to...
4
by: recordlovelife | last post by:
Hello all, thanks in advance - I want to put a music player on a site, I will make it in flash. The site is in a LAMP environment. I want to have the music player in the main navigation section....
3
by: hurricane_number_one | last post by:
I want to be able to play/pause/next/back the tracks in whatever media player app is running. So if iTunes is running, it will receive those commands, if Windows Media Player is, it will receive...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.