Flash :: Flex - Play FLV From ByteArray In Player
Oct 12, 2009I have a flash video file (FLV) stored in the ByteArray object and would like to play this video.
View 5 RepliesI have a flash video file (FLV) stored in the ByteArray object and would like to play this video.
View 5 RepliesI am trying to retrieve the ByteArray from a file selected using the FileReference class so that I can pass this to a Web Service call that I am making to Sharepoint.Is there any way I can do this using Flash Player 9 without having to upload to a remote server first and then downloading the file to extract the ByteArray?
This is assuming you can't use Adobe Flash Player 10 and the data property from the FileReference class.
I am working on a game, made with Flash (using AS3) The game has a fast ball and when this ball hits an object it has to make a sound... but the sound starts with delay (so the ball is far away when the sound is played).This sound is edited by me and it hasn't got any silences at the beginning.The method i'm currently using is the simplest one:
public var sonidoPuntos1:sonidopunto1 = new sonidopunto1()
and then...
sonidoPuntos1.play()
I am trying to introduce the file into a ByteArray and then playing it from there...
I am developing an web application in flex which have a feature of recording the runtime by having a snapshot of each frames then encoding it into a ByteArray for video playback. I am currently using NetStream.appendBytes() for playing the ByteArray FLV. It is working, but I just found out about OSMF and thinking bout integrating it in my application. It is it possible to play the flv byteArray in OSMF?
View 1 RepliesAccording to the NetStream API, Flash can play LOCAL RAW video by calling ns.play("raw:filename");.My question is how can Flash play RAW video data from a ByteArray? I have basically set my NetStream object to data generation mode by calling play(null), but whenever I call ns.appendBytes(byteArray) nothing is happening because apparently, appendBytes only support FLV data. how can I make Flash play raw video data from a ByteArray?
View 1 RepliesI am able to record sound from microphone, encode it using SPEEX and write into ByteArray. I want to play it back. If I try using Sound object the audio is messed up. Speex uses 16kHz for encoding and Sound Object needs 44.1kHz for playing audio. How am I supposed to play this encoded sound.
View 1 Repliesis it possible to play video stream from non-adobe(or homebrew server), in the newest flash player(10).It looks like the VideoPlayer only plays the stream from FMS? Is it the business model of Adobe?
View 2 RepliesI'm trying to make my Flex SWF act like a Flash movie SWF so that when the user issues the Play command in the FLash Player it can trigger an event in my Flex SWF file. I'm not sure what event this would hook into or if this is possible with Flex.
View 1 RepliesI just updated to CS5 - I'm working on a custom video player. It works fine embedded in a web page both locally and on the network. It works fine in the debug player. However, when I test it in the authoring player I get a NetStream.Play.StreamNotFound error and no video. I have tried setting the Local Playback Security publish settings to both local and network - doesn't find the video either way.
It used to run fine in CS4 in the authoring environment.
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
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 RepliesI wrote an application that loads a FLV into a ByteArray object at runtime. Now I want to play this FLV into a Video object. The problem I have is that the Video object won't accept anything else than a NetStream (or a Camera) as its source, and I can't find a way to set an in-memory FLV as a NetStream's source for playing.
View 2 RepliesI have a buffer with MP3 data (If I would save this buffer and call it buffer.mp3 it would play, but in this situation I should not save it to file system). I have to play it, but I can not, what shall I do? I tried the next code to play that buffrer(ByteArrayStream) (I get MP3 data from server the method of getting data works fine (tested on text int's etc) I call the returned ByteArray readResponse because I have some seading method and It is it's response).
[Code]....
I have a mp3 that is retrieved from the server via "somepage.php?id=100". When I load this into spark VideoPlayer it doesn't work. But when I copy that URL and put it into the browser URL I get a dialog that asks if I want to download "sound.mp3".
UPDATE!!!
// in the creation complete handler
var audioElement:AudioElement = new AudioElement();
audioElement.resource = new URLResource(path);
[Code]....
It seems the audio is cued up in order when added to the creation complete meaning that if one audio file is loading another will not start until after the first has completed.
What is the C# .Net analog for Flash/Flex flash.utils.ByteArray?
View 1 RepliesIs it possible to play flash without flash-player installed? I heard that SWF file and flash player itself may be included into one EXE file.
View 3 RepliesI created one invitation in flash 8 with flip book and wanted to upload it online and share the link with everyone. wanted to do in an atmosphere where flash player is self embedded and the user doesnt need to have the flash player.
View 2 Repliesho to do in flash player not to do auto play?
View 5 RepliesI would like to show the live TV video on Flash player from my TV tunner. Is it possible to do it without FMS like using Webcam?
It will not be running on the internet/network and only for a computer that have TV tunner. (Ideally: open a swf and you can watch a TV tunner by flash player). But i cannot find any information if i can do it without FMS.
I am using flvplayer.swf player, it is playing the videos,but before playing the video the player has black screen and a play button. When I click the play button the video plays. Is it possible to show a screen-shot of the video with the play button on top, instead of the blank screen?
View 1 RepliesI want a Flash player which can play a live video in a web browser. My video is increasing per second.
EDITED: I am making video using images by FFmpeg. I want to play that video in a web browser, but when the video is playing the size of that video keeps on increasing.
To view the increased video the user has to reload the page.
I cannot get JW Player to play anything on an Android device (real or emulated). In fact, even the default video and default setup that comes packaged in the JW Player download will not play! I've tried re-encoding the video... nope. I've tried prioritizing the HTML5 player over the Flash player... nope. I keep getting the error:
Cannot play video
Sorry, this video cannot be played.
Worth noting, it works fine on the web and in an iPhone.
UPDATE: Here's an example of the unmodified default player directly from the JW Player download: [URL]. Try it on your Android...
in older versions of flash player if I opened a swf file in a web page locally it would bring up a security settings box where I could allow files to play locally - but this doesn't seem to happen in flash player 11 - how do I enable my swfs to play locally?
View 3 Repliesho to do in flash player not to do auto play?
View 6 RepliesI have a flash player which can play the songs stored on the Local Server, under "mp3" directory.
I would like to modify this player, so that i can play the songs stored on the remote server, through an API.
Following is the code of the player [code]...
I just wanted to know how to play youtube videos within my own flash player (the .flv/low quality ones) i made a long time ago.I think they're not allowing this now or they've changed something ?
View 2 RepliesI created one invitation in flash 8 with flip book and wanted to upload it online and share the link with everyone. wanted to do in an atmosphere where flash player is self embedded and the user doesnt need to have the flash player.
View 2 RepliesI use Window XP, I got some funny flash movies, but they can't play in window media player? Anyboday knows how to make flash movies play?
View 3 RepliesI have received a CD Rom with an .exe file on it. I only have an old Windows XP box (from 2001) but it doesn't play on it Is that possible? Do I need to find a vista box?houldn't these flash exe files be XP compatible? Sorry we only have Macs here so I'm a bit out of the loop when it comes to Windows machines.ed some light on this or confirm before I request another disc or purchase a vista CD ROM?
View 6 RepliesI have an mp4 that is wrapped (or published) by an swf. I have successfully embedded the swf in a web page but when I play the video from the web page the quaility is significantly degraded. Unfortunately I have no control over the internals of the swf so what I would prefer to do is to embed the mp4 rather than the swf. I understand Adobe Flash Player supports mp4 since version 9, but I haven't been able to figure out the html to make this happen. Here is the code I am currently using with the swf.[code]...
View 3 Replies