.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

What to use for an MP3 player

Posted By:      Posted Date: October 22, 2010    Points: 0   Category :ASP.Net


I have a question reguarding an mp3 player I am building. I need to build an mp3 player that can do the following:

1. Pull a song into a player and play it to the currently logged in user only once.

2. Allow the user to rate the song only once, and log the geo location of the user rating the song.

3. Log how many times the song has been rated

4. Automatically disable viewing of the song to users in a specific role after 100 ratings, and enable viewing to users in a different specific role.

I'm wondering what would be the best way to approach this project, and weather or not to create it in jquery or flash or ajax.

Any help is greatly appreciated

Thanks in advance! :)

View Complete Post

More Related Resource Links

Flash player doesn't send cookies while requesting an aspx page



 I'm developing a web-site, that uses SWFUpload for multiple files upload to the server. Page, that uploades files, is accessable only to registered user. Authentication is done via web-forms (authentication mode="Forms" in Web.config). Flash uploades files to special web page - upload.aspx. In IE everything works great, but Flash player in non-IE browser (in Firefox, for example) does not send any cookies to upload.aspx. Because of it no sesion and no authentication information is available in this page.

 I can pass all the information, necessary for uploading, in GET-parameters, which upload.aspx recieve. But this is a serious security hole and I don't want to expose session information. I can pass session identifier in GET-request. But the question is the following: how can I restore session information from the session identifier? How can I make HttpContext.Current.User point to currently logged in user in this case?

Any help will be appreciated.

adding Window Media Player into IE Toolbar

Hello: I am facing a problem in adding a Window Media Player Control into IE ToolBar. I found a project written in C# on Code Project site that can add a text into IE toolBar. But I can't add the window Media Player into IE. The Project I found constitutes of 2 projects BandOjLib and SampleBars window Application C sharp where the development is happening in it. So what you do in SampleBars project will be embedded into BandObj Project after compilation and start without debugging both BandObj and SampleBars respectively. When I am adding the Window Media Player into TOOLBOX, then to drag it into window Form => it gives me this error: Assembly generation failed -- Referenced assembly 'AxInterop.WMPLib' does not have a strong name. I have tried to give it a strong name but with no vain???? I am sending you the project link http://www.codeproject.com/csharp/dotnetbandobjects.asp?select=1113574&df=100&forumid=3788&noise=1&mpp=50&fr=51#xx1024015xx. So please if you have any advice try to inform me.   Regards, R0nda

flash player

Hi does anybody know how to embed flash player(to play mp3 songs) in asp.net using c#.net. does flash player support all extensions(like .flv,.vlc.mp3). could anyone help me out.Thank youkranthi

Silverlight media player control for mvc

I wamnted to add a silverlight media player to my MVC site. there was a silvlight Media player that you could drag and drop on a page from the tool box, but I cant find it anymore. I am not sure it was good for mvc anyhow,   what is the easiest way to get a silverlight media player up and running on a mvc site, I really dont want to make my own, incorarating a silverlight app just for the media playerr seems like a fair bit of work, i was really looking for the drag and drop option we had in VS2008  I'm using VS2010 .net 4 silverlight 4 Any ideas?

Phillips MP3 player and MTP driver not registering, will only register as a MSC

I have been trying for the past 2 weeks to get my MP3 player to connect as a MTP and not a MSC, unfortunately to no success. We have 3 of the same MP3 players and none of them will connect as a MTP. I can get Rhapsody to work on the cpu, Media Player 11 will work on the cpu but in device manager the MP3 will still come up as a MSC and not a MTP. This cpu is a brand new build with me still using Windows XP PRO from the previous build however I had Media Player 10 on the last build and now I have 11 with the most current Rhapsody version 5.337. My previous build was a P4 this one is a AMD build. I don't believe that is the problem.  I have tried the following items and am at a loss as to what to try next. I have worked with Rhapsody and Phillips on the following items; reinstall all of the Rhapsody software (5 times), reinstall windows media player 11 (3 times), clean and clear MP3 reinstall software (7 times), deleted and reinstalled USB drivers (2 times), reinstalled the MTP drivers seperately and just yesterday I have performed a complete reinstall of windows and all drivers to no avail. MP3 player information is model SA1VBE04KW/17 All windows software is current and up to date. System informatio as follows; Microsoft Windows XP Professional, Verison 2002, Service Pack 3 Computer information; AMD Phenom 8250e, Triple Core Processor, 1.91

How to check for media player and real player are installed ?

 Hi, All    I am using the media player and real player video controls they work fine in ie. How can I check they are installed in all main browsers like firefox and chrome and ie if not installed ?. Many Thanks Kered

VLC player in SharePoint

I want to play videos on my SharePoint site. Can I integrate it to play with VLC player instead of Windows Media player and if yes how? There are a few videos whose formats are not supported by Windows Media player and hence this requirement.

Video Upload and Player

Hi Everyone, Still kind of new to MVC, for that matter I've jumped from Classic ASP straight to MVC and missed web forms altogether. I did do some ASP.NET integration into my applications in the form of image upload. So that the image was manipulated size wise so the client didn't have to use Photoshop to get the images the right size. Now I have a client who wants to be able to upload images and video to his site, can anyone point me to an MVC tutorial where I can work out how to do this correctly? I guess I need to build a miniature YouTube kind of application for him. Cheers, Mike.

Silverlight media player change source and play from javascript

I am having trouble accessing an embedded Silverlight 2 media player in an aspx page from Javascript and was hoping someone might offer some insight on what's going on. What I want to do is fire a javascript event on the client when a button is pressed to change the Silverlight media player media source and then play the newly selected file. I found what seemed like a pretty straightforward example on the silverlight.net site that looked like this:<%@ Page Title="" Language="VB" MasterPageFile="~/master.master" AutoEventWireup="false" CodeFile="Test.aspx.vb" Inherits="Test" %> <%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls" TagPrefix="asp" %> <asp:Content ID="Content1" ContentPlaceHolderID="Middle" Runat="Server"> <asp:MediaPlayer ID="Media1" runat="server" Height="240px" Width="320px"> </asp:MediaPlayer> <button id="Button1" onclick="onPlay()" type="button">Play</button> <script type="text/javascript"> function onPlay() { try { var player = $find("ctl00_Middle_Media1"); player.set_mediasource("example.mp3");

IF Command for a .wav music player C#

Hey, I have a basic wave format music player, it has a textbox browse button, play, play looping, and a stop.I want to create an IF in the code, Instead of it only playing waves and if you tried mp3 it crashes out, I want it so its like this   1 SoundPlayer spWave = new SoundPlayer(txtPath.Text);   2   3 If the filename extension is wave   4 {   5       spWave.Play()  6 }   7 else   8 {   9      Messagebox.show("")   10 }   11   now, the only line of code I need is the "if the filename extension is wave" I have an openFileDialog, textbox named as "txtPath"If theres any variables list them below your line of code.Noob

I need a static music player on my website that continues to play music when the user navigates to d

I'm not sure if this is the right area, but I'm needing to have a music player on my website that stays static when the user navigates through my site, and continues to play without interruption.  Currently I have a Flash player that works great, but obviously it stops playing when the user goes to a different area of the site.  Make sense??  Thanks in advance!!

Adobe Flash Player Problems With IE8

I keep getting a message (for various programs) that there's a missing component (Adobe Flash) but when I try to download it to IE8, another message declares that it doesn't work with 64 bit.net framework.     1.  What to do now? 2.  Is MS working with Adobe to get onto the same page?

Windows Media Player - Please Help


I am trying to get windows Media Player working with C# I have not been able to get it to display anything. I have read most of the links on the web and tried different .dll's and they just do not display any Video. I can get sound but no video. Can any one tell me what is going on. I am using and Master Page and Content page.



WSS 3.0 Ipad Video Player



I am not sure if this is the correct forum but this is the closet one i found that is related to what i am doing.

I am developing a WSS 3.0 site that is a video repository.

I would like to play these videos (from WSS) on a ipad.

I had several ideas but no luck each time. I cannot play the video from WSS.

Any ideas ? (note: the same video plays fine if it is in the "video" folder on the ipad")

I am also a C# developer and created many custom pages/webPart for WSS 3.0 so if you have any code snippet/references, please shoot as well.

Thanks in advance



WSS 3.0 Ipad Video Player



I am not sure if this is the correct forum but this is the closet one i found that is related to what i am doing.

I am developing a WSS 3.0 site that is a video repository.

I would like to play these videos (from WSS) on a ipad.

I had several ideas but no luck each time. I cannot play the video from WSS.

Any ideas ? (note: the same video plays fine if it is in the "video" folder on the ipad")

I am also a C# developer and created many custom pages/webPart for WSS 3.0 so if you have any code snippet/references, please shoot as well.

Thanks in advance



how to upload video in sql2005 and how to retrieve it and play in windows media player



i am developing web portal, which suppose to upload video in sql2005 and should be able to retrieve that video on request

and play in aspx page with windows media player.




<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="Player1" width="200" height="100">
    <param name="URL" value="<s:property value="adFilePath"/>">
    <param name="http://path_to_the_video">
    <param name="AutoStart" value="0">
    <param name="ShowControls" value="1">
    <param name="ShowStatusBar" value="1">
    <param name="ShowDisplay" value="1">
    <param name="stretchToFit" value="1">
    <embed type="application/x-mplayer2"
width="200" height="100" src="<s:property value="adFilePath"/>"
filename="<s:property value="adFilePath"/>" autostart="0" showcontrols="1" showstatusbar="1" showdisplay="0">


Above code in the place file name i am using <s:property> of struts 2 thi

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend