play

Post code that plays a Christmas tune

Is there a way to play a Christmas tune on a PC or Mac without having a pre-recorded sound file? (No .mp3 or .wav or whatever-sound file) I remember on my TI 99/4A and Apple II sounds (resembling music) could be played. Not sure if modern computers have these abilities (aside from beep). ...

BASSMOD_MusicLoad loading from resource in Delphi

Ok, So I created a RC file: Chipas RCDATA "chiptune.xm" And compiled it to RES. Added this RES, BASSMOD.pas and BASSMOD.dll to my project dir. Now I need to play that chiptune from the resource. How can I do it? I tried this, but it doesn't loads. procedure play; begin MyResource:=FindResource(HInstance, 'Chipas', RT_RCDATA); if M...

Cause of video artifact/artefact

Hi folks, ![alt text][1] The above screenshot shows some artifacting which is occuring during a software decode of a .DV video file, compliant to SMPTE 314m... The artefacting is believed to be cause by a AC/DC coefficient problem, is this likely? Any information is appreciated. ...

load sound dynamically in as2 having problem

hi I want to load sound placed in sounds folder. Code is var my_sound = new Sound(); my_sound.loadSound("sounds/sound1.mp3"); my_sound.onLoad = function(success:boolean){ if(success){ my_sound.start(); } } This plays sound when flash is open and pressing CTRL+ENTER(Test Movie). but when we plays the swf it won...

How can I start a flash video from javascript?

Is it possible to start playing a file inside a flash player by making use of javascript code? If so, how would I do it? ...

How can one pause/resume a dynamically loaded external SWF file using ActionScript 3?

I'd like to be able to play/pause dynamically loaded external SWF movies using ActionScript 3.0. Any help is appreciated. Thank you. ...

Playing .wav data of any format in Mac C++ program, similar to win32 PlaySound

Hi Everyone! I have .wav files that have been stored in a central database. I need to play them in Mac C++ code. The .wav files have lots of different formats - some of them are quite old - for example 4bit. I got code using AudioHardware interfaces to work for the main formats. But, these work only if the sample rate in the .wav...

Play Music? - Objective C

Hey guys, How would you play any type of music in objective-c (not iphone sdk), and how would you stop the music? Thanks, Kevin ...

DirectShow Capture with delayed play

I'm developing a custom video capture application. The idea is to capture output from a webcam, and simultaneously display a delayed preview. For instance if a user specifies a delay of 5 minutes, after 5 minutes of video capture the video preview will star playing what was captured 5 minutes ago, and will keep playing until five minu...

Java Applet play sound file has a different effect than Windows Media Player ?

I have a Java program that auto dials phone numbers, it can generate sounds to mimic phone keypads, works fine for normal calls, but I encountered a problem when it comes to calling card, it requires me to enter a card number, the sounds generated by my program were not accepted by the other end, it always said the card number is incorre...

Video playback in Java ( JMF, Fobs4JMF, Xuggler, FMJ )

I need simple video playback in Java. Here are my requirements: PRODUCTION QUALITY Open and decode video files whose video and audio codecs can be chosen by me. I.E I can pick well behaving codecs. Be able to play, pause, seekToFrame OR seekToTime and stop playback. Essentially I wish to be able to play segments of a single video file...

play the range of big WMV files by using ASP.NET

hi , I am developing a ASP.NET by using c#.net and have many WMV files and have to watch the range of the file which I gave.The size of files are too big also the users shouldn't download the all of the file , should download between the range which I give . Is there anybody to help me ? ...

mpmovieplayercontroller stop function, and then play with current time (iPhone)

Hi all, I have this situation: Play (streamed) video, stop by code the video, and then play again. The problem is that the video is begin from the start and not when i stopped it. What solution do you now of? tnx ...

IE7: Flash playing in hidden divs :(

Hi all, The scenario is a bunch of divs with flash content inside; clicking on a menu will show / hide these flash-filled divs. Problem is IE7 plays these divs before I "show" them. How can I make sure that IE7 doesn't start the Flash movie until after the div has been "shown"? Much thanks in advance, LNV. ...

How to play a sound clip in JNLP ?

I have the following line to play a sound clip : Applet.newAudioClip(new URL("file:/C:/Dir_Sound/music.au")).play() it works in standalone app, but in jnlp I got an error message : java.security.AccessControlException: access denied (java.io.FilePermission C:/Dir_Sound/music.au read) I'm not running it in "all-permissions mode", is ...

Online video play bandwidth limit

Hi, AppStore reject the online video application due to the bandwidth issue. So i want to check the current available bandwidth for the cellular network and run/download the online video. How can i do this? pl advice.. ...

Play PHP Video file in a continuous loop

How to play a video file in a continuous loop, as the page is requested, with php? ...

How to play a downloaded mp3 file?

I have downloaded a mp3 file from a server successfully, but the problem I encountered is, I don't know how to play that file.. Should I use AVAudioPlayer or AudioQueue to play the file?? I will be appreciate if you could post some sample code here. Thanks a lot. ...

How to stop Video download in MPMoviePlayerController

Hi, I have a requirement where I have to play a video file which is available in remote location. I am passing the URL to MPMoviePlayerController instance and called the method play. Now, the movie is downloading. I have clicked on the "Done" button before the movie loads completely and came back to the rootview. MPMoviePlayerPlay...

Is there any way i can make podcast application from iphone play my podcasts ? ( with code )

I'm doing an application who can play podcasts, but i feel more comfortable is the iphone default podcast application plays itself, instead of me having to handle them. Passing the url to the sharedApplication object , safari opens and starts playing it .. but i'd like to skip the user seeing safari .. is there any way ? Thanks. ...