Strobe Media Playback with AIR ?

Does anybody know how to  use the Strobe Media Playback Player in an AIR application?
I need to skip all the configuration that comes from flashvars,I tried to modify the source code but it's a headache.

Adrian,you are the man!
The dynamic version worked,however I didnt get the static version to work.Here's the modified code,got rid of the unecessary loader stuff
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
  xmlns:s="library://ns.adobe.com/flex/spark"
  xmlns:mx="library://ns.adobe.com/flex/mx"
  creationComplete ="init(event)"
  showStatusBar = "false"
  >
<fx:Script>
<![CDATA[
import mx.core.UIComponent;
[Embed(source='/StrobeMediaPlayback.swf')]        ????(it was not in the source!)
   private var StrobeMediaPlayback:Class;
protected function init(event:Event):void
_stage = systemManager.stage;
_stage.align = StageAlign.TOP_LEFT;
_parameters  =
src:"http://mediapm.edgesuite.net/strobe/content/test/AFaerysTale_sylviaApostol_640_500_short.f lv"
, controlBarMode:"floating"
, controlBarAutoHide:"false"
// For statically linked StrobeMediaPlayback you can use this snippet
var playerClass:Class = getDefinitionByName("StrobeMediaPlayback") as Class;
var playerInstance:Object = new playerClass();
playerInstance.initialize(_parameters, _stage);
var ui:UIComponent = new UIComponent();
ui.addChild(playerInstance as DisplayObject);
addElement(ui);
private var _stage:Stage;
private var _parameters:Object;
/* static */
private static const ALLOW_LOAD_BYTES_CODE_EXECUTION:String = "allowLoadBytesCodeExecution";
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</s:WindowedApplication>
The problem is I did'nt find any  StrobeMediaPlayback.swf   in the source of your project to embed,so I just grabbed the StrobeMediaPlayback.swf  from the StrobeMediaPlayback download,and also tried the swf in the bin folder of the StrobeMediaPlayback Flex Project.
I got a runtime error
ReferenceError: Error #1065: Variable StrobeMediaPlayback is not defined.
I will appreciate your help,(again)!

Similar Messages

  • Strobe Media Playback, basic code not working with FLV file?

    I am trying to use the following code with Strobe Media Playback swf 1.5:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   
        <title> </title>
        <script type="text/javascript" src="scripts/swfobject.js"></script>
        <script type="text/javascript">
                var flashvars = {};
                    flashvars.src = "song.flv";
                    flashvars.poster = "preview.jpg";
                var params = {};
                    params.movie = "StrobeMediaPlayback.swf";
                    params.allowfullscreen = "false";
                    params.allowscriptaccess = "always";
                var attributes = {};
                // Embed the player SWF:
                swfobject.embedSWF
                    ( "StrobeMediaPlayback.swf" //swf file name
                    , "videoDiv" // targeted div
                    , "652", "366" // width, height
                    , "10.1.0" // Flash version
                    , "scripts/expressInstall.swf" //location of expressinstall script
                    , flashvars
                    , params
                    , attributes
         </script></head>
    <body>
        <div id="videoDiv">
            <video controls="controls" poster="preview.jpg" width="652" height="366">
                <source src="song.flv" type="video/flv" />
                <source src="song.ogg" type="video/ogg" />
            </video>
        </div>
    </body>
    </html>
    However, the page is saying:
    We are having problems with playback. We apologize for the inconvenience.
    My links do not appear to be broken, I have checked them with Firebug / View Source. Has the javascript changed for Strobe 1.5?

    Okay, I think I have it *partly* figured out. If I use the link from the example it works:
    http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.mp4
    Does the video have to be online for it to work?

  • How to stream with the player strobe media playback videos using http dynamic streaming?

    Hi..
    please could i have some help about the player strobe media playback?
    i would like to know how to stream with the player strobe media playback videos using http dynamic streaming.
    I have already installed the server,i put my own video in the video on demand folder.i downloaded the player but i don't know how to stream that video with the adobe protocol dynamic streaming.

    http://osmf.org/configurator/fmp/
    Use this configurator, and use the same code it generates with your strobemediaplayback.swf
    Also make sure the domain where strobemediaplayback.swf is being called from and resides, is in your /webroot/crossdomain.xml  file, or it will not work.

  • How to Create a new plugin in Strobe Media PlayBack?

    Hai
                  i want to create a plugin for swf,and added into the Strobe media Playback.i follow this link:http://osmf.org/dev/osmf/OtherPDFs/osmf_plugin_dev_guide.pdf
    But my plugin is Not Loaded ,i dunno wats the reason.Anybody kindly Help me,am new for creating a plugin.
    Thanks in advance!
    swfPlugin.as
    package
              import flash.display.Sprite;
              import com.realeyes.osmf.plugin.swfPluginInfo;
    public class swfPlugin extends Sprite
              public function swfPlugin()
                        super();
                        _pluginInfo = new swfPluginInfo();
              // OSMF will invoke this getter to retrieve the plug-in's
              // PluginInfo object.
              public function get pluginInfo():swfPluginInfo
                        return _pluginInfo;
              private var _pluginInfo:swfPluginInfo;
    swfPluginInfo.as
    package com.realeyes.osmf.plugin
              import org.osmf.media.PluginInfo;
              import org.osmf.media.MediaElement;
              import org.osmf.media.MediaResourceBase;
              import org.osmf.media.MediaFactoryItem;
              import org.osmf.media.URLResource;
              import org.osmf.elements.VideoElement;
              public class swfPluginInfo extends PluginInfo
              public function swfPluginInfo()
                        var items:Vector.<MediaFactoryItem> = new Vector.<MediaFactoryItem>();
                        // Create the MediaFactoryItem and add to our list of items.
                        var item:MediaFactoryItem = new MediaFactoryItem
                                  ( "com.realeyes.osmf.plugins.WatermarkPlugin"
                                            , canHandleResourceFunction
                                            , mediaElementCreationFunction
                        items.push(item);
                        // Pass the list to the base class.
                        super(items);
              private function canHandleResourceFunction(resource:MediaResourceBase):Boolean
    var result:MediaElement;
                        // Only return true if the resource is an URLResource...
                        var urlResource:URLResource = new URLResource("http://vm2.gloriatech.in/android/load6.swf");
                                  // ... and if the URL starts with "rtmp".
                                  return result = urlResource as MediaElement;
              private function mediaElementCreationFunction():MediaElement
                        return new VideoElement();

    Hai
                  i want to create a plugin for swf,and added into the Strobe media Playback.i follow this link:http://osmf.org/dev/osmf/OtherPDFs/osmf_plugin_dev_guide.pdf
    But my plugin is Not Loaded ,i dunno wats the reason.Anybody kindly Help me,am new for creating a plugin.
    Thanks in advance!
    swfPlugin.as
    package
              import flash.display.Sprite;
              import com.realeyes.osmf.plugin.swfPluginInfo;
    public class swfPlugin extends Sprite
              public function swfPlugin()
                        super();
                        _pluginInfo = new swfPluginInfo();
              // OSMF will invoke this getter to retrieve the plug-in's
              // PluginInfo object.
              public function get pluginInfo():swfPluginInfo
                        return _pluginInfo;
              private var _pluginInfo:swfPluginInfo;
    swfPluginInfo.as
    package com.realeyes.osmf.plugin
              import org.osmf.media.PluginInfo;
              import org.osmf.media.MediaElement;
              import org.osmf.media.MediaResourceBase;
              import org.osmf.media.MediaFactoryItem;
              import org.osmf.media.URLResource;
              import org.osmf.elements.VideoElement;
              public class swfPluginInfo extends PluginInfo
              public function swfPluginInfo()
                        var items:Vector.<MediaFactoryItem> = new Vector.<MediaFactoryItem>();
                        // Create the MediaFactoryItem and add to our list of items.
                        var item:MediaFactoryItem = new MediaFactoryItem
                                  ( "com.realeyes.osmf.plugins.WatermarkPlugin"
                                            , canHandleResourceFunction
                                            , mediaElementCreationFunction
                        items.push(item);
                        // Pass the list to the base class.
                        super(items);
              private function canHandleResourceFunction(resource:MediaResourceBase):Boolean
    var result:MediaElement;
                        // Only return true if the resource is an URLResource...
                        var urlResource:URLResource = new URLResource("http://vm2.gloriatech.in/android/load6.swf");
                                  // ... and if the URL starts with "rtmp".
                                  return result = urlResource as MediaElement;
              private function mediaElementCreationFunction():MediaElement
                        return new VideoElement();

  • I am using strobe media playback but i want to add new button for subtitle in control bar,Can anybody tell me how can i do it.

    I am using strobe media playback but i am not able to add new button for subtitle in control bar.
    I have imported assets.fla file in Flash professional but i do not understand how add new button in this fla and then link with action script method to show subtitle.If anybody know about it please tell me.

    Hi,
    Yes you can add video subtitle and I can give you the details how to do
    that. Can you please advise which type of files you have for video
    subtitile and how many language you want to add. i.e. text files or xml
    files.
    Best regards,
    Sunil Kumar
    On Thu, Jan 15, 2015 at 5:22 PM, Add Subtitles to OSMF and <

  • Online Code Walk-Through Wednesday on How To Build an OSMF Player Strobe Media Playback

    Wednesday November 17 at 12:00 noon PDT the OSMF User Group is hosting an online  code walk-through of the open source Strobe Media Playback video  player codebase.
    The code walk-through will be lead by Andrian Cucu who is  Adobe's Project Leader on the Flash and Strobe Media Playback video player  project.
    To join, just go to the following link at the meeting time to join the OSMF  User Group's Connect room:
    http://experts.na3.acrobat.com/osmf/
    For further details and to RSVP see the following link:
    http://osmf.groups.adobe.com/index.cfm?event=post.display&postid=30846
    ** ALL ARE WELCOME! **
    ** PLEASE FORWARD THIS MEETING NOTICE TO ALL WHO  YOU THINK MAY BE INTERESTED! **

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • Any tutorial for Live RTMP Dynamic Streaming using Strobe Media Playback?

    Any tutorial for Live RTMP Dynamic Streaming using Strobe Media Playback anywhere available on the web ?

    Thank you for the link but it does not solve my problem. In this thread they work with manifest xml files like a playlist. Which i tryed but also doesn´t work. Adobe declairs FMP with easy config and less code for non geeks. And this is exactly what i want for my project.
    Does anybody can post some  html sample code especially for dynamic streaming/ MBR wit Flash Media Playback??? For Live or On-Demand.
    Best
    Hinricht

  • Questions about SMP (Strobe Media Playback)

    Hi all,
    Sorry if I am posting this in a wrong forum. I did not know where else to put this.
    I want to know:
    Is it a web based player that can be embedded in a web browser or is it a desktop application?
    How many domains can SMP be played on?
    Does SMP support bandwidth detection?
    Regards,
    digital mystic

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • What Web Services Strobe Media Playback Uses.

    HI,
    Am I posting correct question or I am wrong
    Does strobe media playback uses any web service.
    If it uses or not please let me know .

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • Strobe media playback in Flash?

    Hi everybody,
    is there any way to load the player into a .fla file?
    I'm not able to find anything about that..
    Thanks in advance.

    Thank you, billo! From a first sight, it looks as a slightly different approach, but I'm enthusiastic to try.
    Just for information, I've been able to load an instance of the Strobe Media Playback in Flash (with the Loader class), but when I try to load a second instance I get a
    TypeError: Error #1034
    Does this tell anything?
    It's very strange, because the first instance seems to work perfectly..
    Thanks for the help.

  • How To Change Mouse Cursor Icon To Hand And Click Middle Of Player To Pause In Strobe Media Playback

    Hello,
    Thank you for providing a platform where uses can pose questions to Adobe employees. This certainly helps us all cut right through it.
    Similar to YouTube's player (as well as many others), I was wondering if it is currently possible for users to enable functionality on Strobe Media Playback to change the mouse cursor to a hand/point cursor upon hovering over Strobe Media Playback's buttons (such as pause, the volume controls and that initial large centered middle play button),
    And, whether or not it is currently possible to enable functionality to pause/play videos merely by clicking the middle of the video screen (within the normal view mode as well as the full screen mode). Again, with YouTube, Vimeo, JW Player, and many others, such functionality is currently built-in by default.
    I look forward to any advice you are able to provide. Thanks again for providing this discussion platform for users.
    - C.R.

    Hi, thank you for your suggestions and for the interest in our player.
    The full area click issue is an older one, tracked at http://bugs.adobe.com/jira/browse/ST-156 . Unfortunately, it will not be fixed in this release.
    The hand cursor issue is now tracked at http://bugs.adobe.com/jira/browse/ST-331 - thanks for suggesting it!

  • Adding parallelimage logo to Strobe Media Playback

    Which class of strobe media playback do i need to edit to display logo with video in strobe media playback.

    I am new to this field .So please let me know how i would be able to add parallel image logo to video displayed in strobe media playback.
    Which class of strobe media playback do i need to edit for this

  • Strobe Media Playback - calculating playback position from server

    Need assistance on changing the seek position of a streaming video from Wowza Media 2.23 using Strobe Media Playback.
    Have browser playback working OK but need to be able to position play derived from an array which gives a timing line value from the original video.
    It will allow a user to locate an event within a video rather than playing the whole video.
    The application is running on a Windows 2008 R2 Server using ASPNet 4.0.
    Thanks for any ideas / suggestions.

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • Strobe Media Playback error 1502

    Hi I'm using Strobe Media Playback 1.6.328.
    Randomly using Internet Explorer we get error 1502.
    Using FF and Chrome works prfect.
    Any ideas?
    Thanks in advance.
    Pablo.

    The player supports both standard and advanced delivery methods, including progressive download, RTMP streaming,
    RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback
    1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
    While RTMP(x) streaming are FMS content delivery technologies, the player can also be used with other FMS compatible streaming servers, such as Wowza or Red5.
    In the case you do not need the use of FMS streaming functionality, progressive download is always an alternative (what this means is that all you need is a video that can be served by a webserver like apache, nginx, lightypd, etc).
    As for how the player can be used, these links are allways a good place to start and get a better idea of what it is all about:
    http://www.osmf.org/strobe_mediaplayback.html
    http://blog.theflashblog.com/?p=2087
    Hope this helps.

  • Strobe Media Playback Server-Side ABR live streaming

    Does the Strobe Media Playback support server side Adaptive Bit Rate (ABR) streaming for live RTMP streaming? If so, how?

    http://osmf.org/configurator/fmp/
    Use this configurator, and use the same code it generates with your strobemediaplayback.swf
    Also make sure the domain where strobemediaplayback.swf is being called from and resides, is in your /webroot/crossdomain.xml  file, or it will not work.

Maybe you are looking for

  • IOS devices don't put shared photos from Camera Roll onto My Photostream

    I have photostream setup and working pretty well. I have 2 iPhones and 2 iPads syching all their photos between them and sharing with others. My phortos are also being automatically saved on my mac mini using My Photostream. The problem is when I wan

  • How do i find my itunes library on my external hard drive

    My itunes library was on my old laptop.  I had my old Laptops hard drive put into an external hard drive.  Now I can't access my Itunes library.  the old laptop was Windows xp and the new laptop is windows 7.  any ideas?

  • Incomplete Export w/Compressor

    I'm new to Compressor. Everything makes sense except the export is acting odd: I am exporting several separate projects (under 15:00 minutes) directly from FCP to Compressor 2.0.1, for DVDSP. The shortest project (5:00) exported fine but only a porti

  • Can i replace my screen with an old screen?

    my screen broke few months a go. i took it to the store but they said the guaranty wont cover and it will cost me more to fix than to but a new one.(even tho i don't know how it happen as i have never drop it). is there an alternative to this??? some

  • Adding Secondary Homepage

    We are trying to add a primary and secondary home page for our users.  Unfortunately "Disable changing home page settings" cannot be used with "Disable changing secondary home page settings".  Our goal is to have our specified home page tabs open eac