Silverlight :: A Webpage That Can Discover And Play Music From The Local Filesystem?
Oct 11, 2011
In my scenario, a user visits my webpage and is prompted to select a Music folder on her local filesystem. The web app crawls the folder and indexes it, reading all the metadata from the songs.After a few moments, the index is presented in the page's HTML and the user chooses a song to play.I can't expect to do this with pure Javascript, can I? I imagine I'll have to rely on a heavyweight object (an embedded Flash movie, a Java Web Start, an AIR app, or a Silverlight app) to scan the files and play them.
I feel confident that I could do this with a clunky Java Web Start; but is it possible with an embedded Flash movie? I'm trying to make the process as clean and streamlined as possible for the user.How should I proceed?Which framework can make this dream a reality?And how many permissions screens will the user be forced to wade through?
View 1 Replies
Similar Posts:
Feb 7, 2011
i need a webpage (host on my website) that can play the following mp4 file either via silverlight 4 or flash[URL]..i tried various solution like flowplayer and silverlight but none of them work with the URL above. I can play the file fine using Windows media player or VLC.
For silverlight, i always get AG_E_NETWORK_ERROR exception within MediaFailed event. For flash, via flowplayer, IE page is just blank
Can someone tell me what am i missing? i am very frustrated as I have finished encoding, upload, cataloging my videos and now I am stuck at the last step.
View 1 Replies
Jul 4, 2010
I'm trying to load a local xml file:
xmlLoader.load(new URLRequest("../xml/xmlData.xml"));
But I'm getting this security sandbox violation:
#2148: Only local-with-filesystem and trusted local SWF files may access local resources.
I don't get this error when I embed the XML file directly with the EMBED metadata tag.
View 3 Replies
Mar 30, 2011
In Flash user can give permission to localhost and even local html file to access remote webservice.I fail to see the same thing for Silverlight which is a nightmare for testing on local pc.
View 1 Replies
Feb 14, 2012
I want to play the music file in flash player (which is embedded obviously) by clicking the play button which is in the web page (not in flash player).
View 2 Replies
Dec 22, 2010
Here's a way to read/write anywhere on any local or mapped hard drive with AIR. (Coded for non-Flex):
Code:
import flash.filesystem.*;
var _drive:File = null;
var _stream:FileStream = null;
[code]....
File.GetRootDirectories() returns an array of File objects (the root of each drive, mapped or otherwise). You then compare the name of the drive (C:, D:, E:, etc) to the first two characters of the fileName variable. If you find a match, you use that File object (_drive) to resolve the full path of the file you want to open.
View 5 Replies
May 29, 2011
I've created a small application that is loaded by a preloader. The preloader loads the app then loads some json data it passes the data to the application and then puts the application on stage. Everything works fine in FDT 4 but once I put it on a server it gives me this error - SecurityError: Error #2028: Local-with-filesystem SWF file. Does anyone know why its happening and what setting I need to change to stop it? I have set the load arrguments -use-network=true and false to no availe. The json data is coming from an external web address when I change and put it locally with the application I get SecurityError 2148.
View 1 Replies
Jun 28, 2010
What is the best (and simplest!) way to record video from a webcam to the local filesystem--all from a browser? Ideally the video would be recorded in HD and then we could use ffmpeg later to convert it into the formats and sizes needed.
Here are some things we've looked into:
Use Flash to stream to a local Red5 server. But we've had issues with video quality here. A Java applet using JMF (can we even write to the filesystem from an applet?). We've heard this might not be very efficient though. Can it handle HD?
Write a custom Firefox plugin. Would this be very difficult?
Basically the hardest thing here is that the controls need to be embeddable into a browser. All we need is a box where the webcam frame is displayed to the user, and then some Javascript hooks so we can code start/stop buttons within the HTML page.
The computer is fully controlled (it's a kiosk) and we can do just about anything to it. We just need a solution that runs in the browser. Our current app is run in Firefox in kiosk mode and the webcam recording is just a part.
View 3 Replies
May 1, 2009
Using Macromedia Flash Professional 8.
I have a website banner made in Flash. I have added a music file to it and Play and Stop buttons. I also have a Replay button to replay the banner animation once it stops.
I have put the music on a separate frame so that it will not play automatically when the banner loads. I have made the Play button direct to the frame the music is located at so that when clicked, it will go to that frame and play the music file.
The problem I am currently having is that if I click the Play button more than once, it will play the music file again on top of the current play-through.
So if I click Play, the music will play. Then if I click it again, the music will play again, but on top of the first instance of the music, so two instances of it will now be playing and it sounds horrible.
I would like to make it so that if you click Play when the music is playing, it will not play the music again until the music has stopped.
View 6 Replies
Mar 27, 2012
I am trying to build a web application that can capture audio and video from a web cam and upload it to our server. The solution should work with both Windows and Mac. Supporting mobile devices would be a plus, but is not required. My boss would prefer if the platform/framework was from Microsoft. My initial impulse was to start looking into SilverLight. Interestingly, there were plenty of demos showing how to capture video and display it to the user, As far as I can tell SilverLight will not record video.
I already have a component that can record video in a winforms application using DirectShow, but the goal is to build something that is cross-platform so that our program will work for Mac users as well as Windows users. A desktop application is not out of the question, but we would much prefer to stick to a web page. I am aware that Flash can record video from within a browser, but the higher ups would prefer to avoid flash. Is there any other way to record video captured from a user's webcam from within a web browser?
View 1 Replies
Jan 11, 2009
How do i properly put music on my website, so that most (or all) browser can play it. Or is it recommended that i have the webvisitors use the mediaplayer that's already installed on their computer.
in other words: is it true that there are benefits in using flash for music on my site as opposed to a simple <a href=...> link? i'm a composer of music and would like to put up either good mp3's (192kbps and higher) or aiff's or wav's how to go about putting (flash) music on my website?
View 3 Replies
Sep 5, 2011
I found Vectorlight which is quite good, but are there any tutorials or books about doing cool effects with silverlight. I'm after for resources focused more for a designing and presentation. Mostly the books about Silverlight is focused on doing boring business applications like making grids and forms.
View 1 Replies
Mar 5, 2011
I have to prepare a comparison between the following technologies to present it to my Project Manager, but I fell that I'm lost I want to compare between them in the following areas:the support of online video streaming the budget of using each one Learning Time will be needed to learn the technology Which one is the standard and will target a lot of users The support if I found any problem Bugs and security issues connection to DB, SOA and web services supporting of multi player
View 7 Replies
Dec 26, 2011
I am currently working on a windows phone project where i have test the compatibility and I do not know flash and Silverlight is supported or not on windows phone 7.3.
View 1 Replies
Dec 30, 2004
I have done some reading up on it and could use some further clarification if anyone has a few moments to enlighten me. I would like to understand how paths work inside a function. Question 1: Is it possible for a function to discover what movieclip it exists in? When i trace(this) within my actionscripted function it returns object Object. (sorry code is on another machine)
Question 2: When I am attaching a function to _level0.myMainClip.mySubClip from _level0 timeline in actionscript and I use "this" within that function am I refeering to _level0.myMainClip.mySubclip? or the function within that movieclip or _level0 since that is where I am creating the function?
View 1 Replies
Feb 14, 2011
Is there a website where you can go to find developers?
View 1 Replies
Aug 3, 2011
I am looking for a 3D object viewer for my website.
Requirements:
Files: .stl,.wrl, *.3ds *.vrml, *.obj, *.ply, *.skp
display: models in color and non color
Unit of Measure: Meters, Centimeter, Millimeters, Inch
Volume: 3D object viewer has to calculate the orginal size of the model
Rotation&zoom: user can rotate/zoom with mouse and rotate/zoom by clicking buttons
Browser: IE& Firefox
View 1 Replies
Sep 14, 2010
In creating a RIA, what are the advantages and disadvantages of each approach?
View 1 Replies
Nov 2, 2010
I'm trying to make a guitar practice website, and a critical functionality is to loop over very short mp3 files (a few seconds long), with absolutely zero gap in between. For example, it could a 4-measures-long chord progression, and I want to allow the user to loop over it seamlessly.
I tried using the HTML5 <audio> tag with the loop attribute. Google Chrome gives a small gap between the loops, but big enough to be totally unacceptable for my purpose. I haven't tested the other browsers, but I believe it won't work.A possible workaround is to use ffmpeg to stream repetitions the same audio as an mp3. However, this costs a lot of bandwidth.
For myself I use Audacity to loop without gaps, but unfortunately Audacity doesn't have a web version.So, do you have any ideas how I may loop over an mp3 in a browser with zero gap? I prefer non-Flash solutions, but if nothing else works I'll use Flash.
View 4 Replies
Mar 29, 2010
In AutoScript 2 how can I play music from URL?
mySound = new Sound();mySound.loadSound("");
and now how?
View 1 Replies
Mar 21, 2009
I have an FLV file embeded in a SWF. The file plays when directly opened by Firefox or Internet Explorer. However, it doesn't play when embedded in an HTML page.
View 3 Replies
Feb 9, 2010
what is the code to play a music from library? AS2
View 2 Replies
Dec 19, 2010
I need to play three musical tracks one after the other in a circle. It is necessary that its are not loaded again and were in the cache. I use this code. Everything works fine on localhost, but only works after restart the app on the server. And wrong to re-download tracks every time.
[Code]...
optObj.music - it is the object with the parameters that is called when the app starts or when i call a function change the settings.
View 1 Replies
Jul 22, 2008
I have music (.mp3) in a .swf file that I'm loading into another .swf. When I play the .swf containing the music alone the music plays, but when I load the same .swf into another .swf there is no music.[code]...
View 6 Replies
Jul 17, 2009
The following code plays music when the H key is being pressed and when is unpressed the music stops...the problem im having is that its re-playing the music for every milisecond the H key is being pressed so its creating an endless loop of the sound1, how may I change the code to only play once the sound1 while the H key is being pressed and stop when is unpressed[code]...
View 1 Replies
Oct 9, 2007
in my game there are two labels, the "menu" label and the "game" label.i want to have one mp3(song) playing during the "menu" label and another (song) playing during the "game". So,while the player is in the "menu", if he clicks the "play" button the mp3(of the menu) must stop and the mp3(of the game) must begin.i have tried putting the command "stop all sounds" in "play" button's function, but it doesn't only stop the music that was being played (menu's mp3) but also the music that follows (game's mp3)
View 2 Replies
Nov 10, 2009
Im using as3 to start playing 1 music in the intro of my website... but i want that music to stop when he reatch frame 600...
View 1 Replies
Mar 29, 2005
I am loading a movie in another flash movie clip. The first movie "animation.swf" has background music that loops twice. Linked in the library as "Song" and played as below:
loopMusic = new Sound ();
loopMusic.attachSound ("Song");
loopMusic.start (0,2);
It plays fine, but when that file is loaded in the main movie using loadMovie the sound doesn't play.
View 4 Replies
Sep 7, 2006
Is it possible to embed and play a file.flv in a web page ..without having the flv in a file.swf.
View 5 Replies
May 11, 2009
I have a webpage that I have a video linked to play when a user clicks on it - simple enough. With flv (v9 and below) videos, I have no issues serving it up to the user and them viewing it - with a f4v file this is a different animal, nothing happens, the web page player sits there spinning like it is going to do something and never does, like it cannot read or understand the video file.
how to make f4v videos play in a web page? My flv's are working fine, but cannot seem to get the better compressed f4v's to work right. I do not have DW CS4 or I would have tried to see how the code worked there. I created these videos in Premier Pro and exported via the Adobe Encoder in CS4. The video is beautiful for the same size and quality compared to the hazy flv's, so I really want to use the f4v's, I just cannot seem to get it to work.
View 7 Replies