ActionScript 3.0 :: OSMF Player Without Flex (Flash Only)?

May 28, 2010

I am looking to build a custom OSMF player such as this OSMF player sample, however I only have Flash CS but not Flex. Is it possible to build a OSMF player without using Flex?

View 2 Replies


Similar Posts:


Flash - OSMF Player Stops Working When Deployed Onto Apache Tomcat Server?

Dec 28, 2010

I downloaded OSMF Sample player and opened osmf.html, (C:playerosmf.html)it worked perfectly without any problem.The same file when I deployed onto tomcat server,[URL] I get the error "The specified capability is not currently supported" while debugging.

View 2 Replies

Media Server :: FMS Causes Error 1009 In OSMF Player

Jul 5, 2011

I have written a program to publish the audio and video data to the FMS. I am publishing the video data to FMS in live mode and trying to play back via OSMF player. When i start publishing video data in the livepkgr application folder of FMS files like .bootstrap, .control, .meta are getting created. But when i try to playback via OSMFplayer i will get error 1009 and one intersting thing what i have observed is after 7 minutes this error won't come and OSMF player starts playing properly. give the solution for error 1009 which comes only for first 7 minutes?

View 12 Replies

Eclipse :: Flex 4.1 And OSMF 1.5 - Does It Work?

Apr 29, 2011

The Flex 4.1 SDK ships with OSMF 1.0. For new features, OSMF can be updated. Adding the updated osmf.swc to a Flex 4.1 project, I get error messages as soon as I add an OSMF component in my application (VideoDisplay in the sceenshot): Screenshot: [URL].png OSMF 1.5 download page According to the documentation, OSMF 1.5 should work with the Flex 4.1 SDK. Unfortunately, I have to stick to Flex 4.1 because Flash 10.1 needs to be supported (Flex 4.5 needs Flash 10.2) When I change the SDK to version 4.5, the error messages disappears and it compiles as expected. --> Is the documentation wrong about supporting Flex 4.1 or am I doing something wrong?

View 2 Replies

Flex :: OSMF With Basic Authentication?

Jul 24, 2011

How would one create a video or audio stream using OSMF when there must be basic authentication on the url?Can one feed in Audio/Video using HTTPService to provide the header authentication?

View 2 Replies

Flex :: Play Flv Formatted ByteArray In OSMF?

Jan 9, 2011

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 Replies

Flash :: Set A Buffer Graphic Using OSMF?

Jun 29, 2011

I'm building a pretty simple player and have a a buffer size set on my MediaPlayer (mediaPlayer.bufferTime = BUFFER_TIME). That's working but I want to show a graphic whenever it starts to buffer. I have an Event Listener on my mediaplayer to show and hide but it doesn't seem to be working properly.[code]...

View 1 Replies

Flash :: Crossfade Two AudioElements In OSMF?

Sep 5, 2011

I'd like to crossfade two AudioElements inside a SerialElement but I don't know where to start.

View 1 Replies

Flash :: Seeking Error In OSMF?

Dec 1, 2011

I have a HTTP video player built using Adobe's OSMF and I am experiencing a strange behavior when trying to seek within a subclip.The player requests data from the server using URL like "http:[url]...." to get the full video, and appends "?begin=123456" to request a subclip starting at 123456 bytes offset.Whenever I try to seek within a loaded subclip, the playhead just drops to the start of the subclip and the video plays from there. Although both mediaPlayer.canSeek() and mediaPlayer.canSeekTo(newtime) return true.

View 1 Replies

Flash :: OSMF Seek With Amazon Cloudfront?

Jun 7, 2011

I've written a little OSMF player that streams via RTMP from Amazon Cloudfront. There's a known issue, the mp3 duration is not correctly readed from metadata and thus the seek function is not working.
I know there's a workaround implying the use of getStreamLength function of NetConnection, which I successfully implemented in a previous non-OSMF player, but now I don't know how and when to call it, in terms of OSMF Events and Traits. This code is not working:

[Code]...

View 1 Replies

Flash :: Experience Using Strobe Media Playback (OSMF)?

Sep 11, 2010

Does anyone have an experience of using Strobe Media Playback (OSMF) in a real project? How is it compared to JW Player and Flowplayer?

View 2 Replies

Flash :: OSMF Detecting The End Of A Live RTMP Stream?

Oct 26, 2010

What's the best way to check whether there is video data (or not) in a live RTMP stream? For example, if a broadcast terminates, can I auto-detect that condition, to perform some sort of "thank you for watching" behavior?Also, how can I know if a visitor somehow gets disconnected from the Internet during the broadcast? (So I can notify the visitor of the problem, and give instruction.)

View 1 Replies

Flex :: Amazon - Upload From Flex/flash Player In The Browser To S3?

Dec 9, 2009

I want to upload directly to an S3 bucket.I know this can be done in AIR,whether it is actually possible in flex in the browser, or will I have to use some code server side to get this going?

View 1 Replies

Handle NetStatusEvents With OSMF?

Jul 12, 2011

I am developing a video player using the OSMF library. I have the problem that I sometimes lose the connection to the server. So I set up an object that watches the connection to the server and in case of connection lost it tries a limited number of times to reconnect before giving up. Everything works just fine except for the message that I get on the debugger version of the player which states:[code]But I still get the error. The onNetStatus method gets events like NETSTREAM_BUFFER_EMPTY, NETSTREAM_BUFFER_FULL or NETSTREAM_PLAY_START but not NETSTREAM_PLAY_STREAMNOTFOUND.

View 2 Replies

ActionScript 3.0 :: Load A ByteArray FLV In OSMF?

Oct 21, 2011

I'm working on a local application ( it's not a website or nothing related ) and I have various FLVs with a very simple encryptation method (just like adding 10 at each byte). I can load/play them using NetStream.appendBytes() after my decrypt, but that happens only after I read all video data. What I really need is to stream those videos from a remote url, and decrypting while receiving data, using a OSMF player that I already have.
 
This is my current code just to play my decoded FLV byte array
 
private function playBytes(bytes:ByteArray):void
{
// detecting it's header
if (bytes.readUTFBytes(3) != "FLV")

[Code].....

View 3 Replies

Actionscript 3 :: Set Video Size In OSMF?

Apr 29, 2010

OSMV is very thick so so I'm trying to put a series of minimalist tutorials and again I'm stuck with something that should be dead simple.I have a VideoElement that I added to a MediaPlayer. Now now do I set the size of the video?I'd like to just set the size on the mediaPlayer or MediaElement and not include 20 layout classes like the OSMF examples.

private function handle_elementLoaded(e:MediaFactoryEvent):void
{
mediaPlayer = new MediaPlayer(e.mediaElement); [code]....

View 1 Replies

Actionscript 3 :: OSMF - Add Cuepoint To A Video?

Jun 5, 2010

I'm trying to add a cuepoint to a video using OSMF. I built an OSMF video player, and I'd like to use this instead of the FLVPlayback component, which seems like the only way to add an actionscript cuepoint? Anyhow, I created a cuepoint by writing this:

[Code]...

View 2 Replies

Actionscript 3 :: Load A ByteArray FLV In OSMF?

Oct 20, 2011

I'm working on a local application ( it's not a website or nothing related ) and I have various FLVs with a very simple encryptation method by now (just like adding 10 at each byte).

I can load/play them using NetStream.appendBytes() after decrypting, but that happens only after I read all video data it's not streamed.

What I really need is to stream those videos from a remote url, and decrypting while receiving data, using a OSMF based player that I already have built. I'm lost on how OSMF deals with FLV, otherwise, I would try to create a plugin or something like. .

find a way to load a local file using OSMF, passing a ByteArray value, instead of a url (below). Or even giving me directions to create a OSMF plugin to solve my problem.

videoElement.resource = "video_url/video.flv";

This is my current code just to play my decoded FLV byte array

private function playBytes(bytes:ByteArray):void
{
// detecting it's header
if (bytes.readUTFBytes(3) != "FLV")

[Code].....

View 1 Replies

Actionscript 3 :: Detect Event From SWFElement In OSMF?

Apr 7, 2011

I use OSMF's SWFElement for my project to load SWF file in to main Application but the main app can't detect event from child SWF at all, .CODE in the Main App

mediaPlayerSprite = new MediaPlayerSprite();
var swfElement:SWFElement = new SWFElement();[code]....

CODE in the Child Flash SWF using Flash CS3 add code in The FLASH TimeLine

this.dispatchEvent(new Event('animationEnd') );

View 1 Replies

Actionscript 3 :: Using BitmapData.draw() On A Streaming (RTMP) .f4v With OSMF?

Sep 14, 2010

I am trying to use BitmapData.draw() on a video object, but using the OSMF framework.My hosting service has set up the following so that I can access my rtmp video:

<VideoSampleAccess enabled="true">/</VideoSampleAccess>

Simplified code is as follows:

_videoURL = "my-url-here"
resource = new StreamingURLResource(_videoURL);
videoElement = new VideoElement(resource);
_player.media = videoElement;

[code]....

However, I am getting the following error message:

SecurityError: Error #2135: Security sandbox violation: BitmapData.draw: ...

View 2 Replies

Actionscript 3 :: Does The OSMF Captioning Plugging Support Audio

Dec 13, 2011

I'm setting up a simple little OSMF-based media player, and I have hooked up the org.osmf.captioning plugin found in the samples. It is working just groovy with video, but I also have audio files to play with captions, and it doesn't seem to do anything for those. On initial inspection, I can't see anything in the plugin that ties it to a specific type of media. Nor can I find any indication that the timeline metadata used for captioning is only relevant to certain types of media. Does the captioning plugin support audio playback? Might I have set it up incorrectly?

View 1 Replies

ActionScript 3.0 :: Osmf - Use AppMeasurement To Track Data From Video?

Apr 28, 2011

i'm working on a AS3 project including video reproduction managed with OSMF 1.5. Now i must implement analytics using AppMeasurement.swc. How use AppMeasurement to track data from my video?

View 0 Replies

ActionScript 3 :: Akamai OSMF Live Stream Connection Woes

Oct 13, 2010

I know this stream works because of two reasons:
1) It works OUTSIDE of OSMF
2) It works in the akamai support player: [URL]. I don't believe the current akamai support player is using OSMF (which is suprising since they built the predecessor to osmf..)

My question is: How in the world do I play a live stream in osmf? This should be very simple if not automatic. However, I'm getting the following error when I try to play a working live stream:
Error: Stream not found

Which is a bunch of garbage since a non-OSMF player can play it. I have the Akamai Basic Streaming plugin which doesn't seem to be working either.

View 1 Replies

ActionScript 3.0 :: OSMF MediaPlayer.seek Not Seeking To The Correct Point?

Feb 24, 2011

Here's my function:

ActionScript Code:
private function onTrackClickHandler( e:MouseEvent,trackWidth:Number):void{
mps.mediaPlayer.seek((skinControls.trackBg.mouseX/trackWidth) * mps.mediaPlayer.duration);

[code].....

View 0 Replies

ActionScript 3.0 :: Loading And Playing OSMF Audio In Chrome And Safari?

Sep 30, 2010

If been trying to refurbish my website using solely OSMF but, the sound part gives problems in various browsers. It works in IE6 and FireFox but, it doesnt in Chrome and Safari. Does anyone know what is happening and what their differences are when it comes to file loading?[URL]check it for yourself clicking the buttons in various browsers the Flash button uses native flash sound libs the OSMF button the OSMF implementation.

Main.as

Code:
package {
import org.osmf.elements.AudioElement;
import org.osmf.media.MediaPlayer;
import org.osmf.media.URLResource;

[code]....

View 1 Replies

Flash :: Flex 3 And Player Caching?

May 7, 2010

i pass text strings from a configuration file into my Flex app, one of the strings i pass in is a mailto link which i use to allow users of my app to send me feedback. I recently needed to change this link however when i updated the link in my config file the change did not happen instantly in my Flex app. In fact i had to clear my cache (both browser and flash player) before the change showed up. This of course is fine for me but how can i be sure that users of the application also get the updated content? Is there a way to force a refresh of data loaded into my swf on other users browsers?

Finally is this an issue with my browser cache or the Flash player cache? Does the flash player only keep such data, like my email address, in memory while the app is in use and then clear once it is closed or does it cache this data for the next time the user wants to use the app?

View 1 Replies

Flash :: Flex 4 Compatible With Player 9?

Jul 12, 2010

Could you confirm me that:

Flex 4 is compatible and only compatible with Flash 10 Flex 3 is compatible and only compatible with Flash 9 & 10

View 1 Replies

Windows :: Flex 3 With Flash Player 10?

Aug 9, 2011

I have just created a Flex 3 project. I understand from the flex-config file that the mininum requirement for Flex Builder 3 is Flash 9 or above. I have Flash player 10 on my machine but when I launch my application in firefox. it gives the following error:

C:Programs Files (x86)Mozilla FirefoxpluginsNPSWF32.dll

Flex Builder cannot locate the required version of Flash Player. You might need to install Flash Player 9 or reinstall Flex Builder. Do you want to try to run your application with the current version?

View 2 Replies

Flex :: Manually Connecting Flash Player (debug) To Flash Builder?

Sep 22, 2009

Is it at all possible to connect the Flash Player debug version to the debugger in Flex Builder using source code? I'm running an app which has no right click menu, and I therefore can't right click and select connect to debugger.

View 3 Replies

Flex :: Flash Builder 4 - Flash Player Failed To Connect To Debugger

Jan 7, 2011

I just finished my installation of Adobe Flash Builder 4. I've definitely installed the most recent flash player from Adobe's website onto my computer. Also, in the run configurations of flash builder 4, I changed the source path from the .html file to the .swf file that is generated. I don't need to test it in a web browser, I just want to run the swf in flash player.

I only have 1 .as file in my actionscript project and there is no code written in it other than the package, class and main function statements. When I run the .html file, it runs fine, and debugs fine. However, when I switch the source path to the .swf file, it runs fine but doesn't debug!

When I debug it, the progress gets stuck at 57% and it says "Waiting for Adobe Flash Player to connect to debugger..." in the "Progress" tab. After a few minutes a window pops up that says:

"Failed to connect. The session has timed out. Ensure that you have run the application with debugging on and that I have the debugger version of flash player."

What can I do to fix this? I am on an intel Mac running OS 10.6.5.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved