This is a message.

Forum user: pauls

Basic information

Registered Feb 9, 2009
Last login 2 weeks and 2 days ago
Forum posts 16
Direct URL http://www.flowplayer.org/forum/users/8204

Latest forum posts

Posts:

Registered:

FP 3.2.10, RTMP 3.2.9 and Flash 9

Posted: 2 weeks and 2 days ago

Hi,

Has the minimum Flash version supported by Flowplayer and the RTMP plugin changed after 3.2.8?

The reason I ask is that I can no longer to get Flowplayer 3.2.10 and RTMP 3.2.9 working with Flash 9.

For example, the RTMP plugin doc page http://flowplayer.org/plugins/streaming/rtmp.html) throws the following exception with Safari and Flash 9.0.60. It seems that it only works with Flash 11?


Error: Error #1023: Stack overflow occurred.
	at org.flowplayer.controls.controllers::AbstractTimedWidgetController/stopUpdateTimer()
	at org.flowplayer.controls.controllers::AbstractTimedWidgetController/getPlayerStatus()
	at org.flowplayer.controls.time::TimeViewController/onTimeUpdate()
	at org.flowplayer.controls.controllers::AbstractTimedWidgetController/stopUpdateTimer()
	at org.flowplayer.controls.controllers::AbstractTimedWidgetController/getPlayerStatus()
	at org.flowplayer.controls.time::TimeViewController/onTimeUpdate()
	at org.flowplayer.controls.controllers::AbstractTimedWidgetController/stopUpdateTimer()
	at org.flowplayer.controls.controllers::AbstractTimedWidgetController/getPlayerStatus()
	at org.flowplayer.controls.time::TimeViewController/onTimeUpdate() 
        ....

Paul

Posts:

Registered:

» » » » My OpenX Pre-Roll ad does not show up

Posted: Jun 3, 2010

Hi, are you still having trouble with this? I can help - best bet is to email me at enquiries@openvideoads.org along with a test page/the config you are using and I'll help resolve your issues.

All the best,

Paul

Posts:

Registered:

» need similar funcionality

Posted: Sep 30, 2009

Hi.. no problem.. you can find all of the source code for the original version of the RTMP Ad Streamer athttp://code.google.com/p/openx-iab-vast

Saying that, I went with a much better approach in new versions of the plugin based on the new instream API - you can find all the source for the new versions of the plugin at www.openvideoads.org (orhttp://code.google.com/p/open-video-ads). Hope it helps.

Feel free to contact me on paul.schulz@bouncingminds.com if you need more info directly ;)

All the best,
Paul.

Posts:

Registered:

» » Callback when control bar hides and shows... ?

Posted: Aug 31, 2009

Hiya,

Thanks for the guidance...

I looked into the 3.1.3-dev code and can see the event dispatching:


_model.dispatch(PluginEventType.PLUGIN_EVENT, "onShowed");

So I figure all I need to do is to addEventListener against the "controls" model... but I'm stuck trying to do that. The way I normally get a handle to the controls model returns a clone so registering the listener doesn't seem to have any impact...


var controlProps:org.flowplayer.model.DisplayProperties = 
       _player.pluginRegistry.getPlugin("controls") as
             org.flowplayer.model.DisplayProperties;

What's the correct way to add an event listener to the controls model?

Thanks for your help in advance...

Paul.

Posts:

Registered:

Callback when control bar hides and shows... ?

Posted: Aug 27, 2009

Hi, just a quick question that someone may be able to quickly answer :)

I'm writing a Flash (AS3) display based plugin for Flowplayer and I've been trying to work out how to receive notifications when the control bar shows and hides...

There doesn't seem to be an API on the Player class to do this and I couldn't see anything on the Controls plugin itself... (e.g. as per player.onMute() etc. )....

Does anyone know if it's possible to register for a callback event (in AS3 not Javascript) when the controls show and hide?

Thanks in advance for your help...

Paul.

Posts:

Registered:

» building openX.flowplayer.rtmp-0.4.8 from source

Posted: Aug 19, 2009

Hi.. I think I need more information to work out why the compile is failing.. can you contact me on paul_schulz@yahoo.com and I'll help sort this for you.... all the best, Paul.

Posts:

Registered:

Passing data back to Javascript callbacks from within a Flash plug-in

Posted: Mar 26, 2009

Hi,

I'm trying to pass data back to a javascript function from within my flash plug-in, but I'm struggling to work out the right way to do it....

Here's what I have been trying to do:

Player configuration:


plugins: {
       myPlugin: {
             onMyEvent: function(param1) { //do something here with param1; },
       }
}

Now my Flash plugin code:


var _model:PluginModel;
var anObjectWithData:Object = new Object();
anObjectWithData.dataItem = "some data here";
....

_model.dispatch(PluginEventType.PLUGIN_EVENT, "onMyEvent", anObjectWithData);

The onMyEvent() function is successfully called, but "param1" is left undefined - the data object isn't getting through...

How do I correctly call the dispatch method so that it sends parameters to my custom javascript function ?

Thanks in advance,

Paul.

Posts:

Registered:

Manipulating the playlist within a Streaming Provider

Posted: Mar 22, 2009

Hi,

I'm having a little difficulty with the playlist functionality and would appreciate a pointer in the right direction... here's what I'm trying to do:

1. I'm implementing a custom Stream Provider (extended from NetStreamControllingStreamProvider)

2. On load of the stream provider, I need to create a default playlist that has 2 dummy clips in it - when I say dummy, I mean just placeholder clips that I use to cycle between streams that the customised Stream Provider loads programmatically via the doLoad(event:ClipEvent, netStream:NetStream, clip:Clip) method called after player.next() is triggered.

I need placeholder clips in the playlist to allow me to use player.next() to trigger the onLoad and loading of a new set of streams.

3. If I put the following "playlist" config, all works perfectly - the 2 dummy clips are in the playlist:

playlist: [
{ url: "main" },
{ url: "popup" }
],

4. How do I do this programmatically? - if I put the following code into the onLoad(player) function of the Streaming Provider class, the player seems to have problems:

playlist.addClip(Clip.create("main"));
playlist.addClip(Clip.create("popup"));

When I go player.next(), it seems to try to resolve the "main" as a URL (which I'd expect by default), but how do I stop this from happening (e.g. ignore the URL value?)

I've tried:

playlist.addClip(new Clip()); and
playlist.addClip(Clip.create(null));

In the last case, the player.next(); call doesn't seem to trigger an onLoad for the new dummy clip...

Is there anyway to add "dummy" (empty) Clips to the playlist?

Thanks in advance,

Paul.

Posts:

Registered:

[External]....how in the world do you get to work?

Posted: Mar 19, 2009

Hi... I'm having exactly the same problem... out of interest, did you find the cause/a solution?

Posts:

Registered:

» » » Can"t seem to correctly retrieve a plug-in via the registry

Posted: Feb 24, 2009

Thanks for the help! - yep - all working now :)

Posts:

Registered:

» Can"t seem to correctly retrieve a plug-in via the registry

Posted: Feb 18, 2009

A little bit more info... it seems that I completely misunderstood the way getPlugin() works on the _player.pluginRegistry....

It looks like the type of the object being held in the registry is of type "DisplayPropertiesImpl" - how do I go from that type back to a Content or ContentView type where I can actually set the html?

BTW: If I make an external call out of the Flash plug-in to Javascript and call into the Content plug-in - I can set the html attribute (via $f().getPlugin("myContent").setHtml) but I would prefer to be able to talk directly from my custom plug-in to the Content plug-in - I just can't work out how to do that?

Paul.

Posts:

Registered:

» Adding Cuepoints within a Flash Plugin

Posted: Feb 18, 2009

I managed to resolve this... incorrect code on my part (the value for 10 seconds and the function definition for the callback).. here's the solution just in case others are interested:


clip.addCuepoint(new Cuepoint(1000,"1"));
clip.onCuepoint(processCuepoint);
......

private function processCuepoint(clipevent:ClipEvent):void {
...
}

Posts:

Registered:

Can't seem to correctly retrieve a plug-in via the registry

Posted: Feb 18, 2009

Hi,

I'm really struggling to set the HTML in the content plug-in from a custom plug-in that I'm writing.

Here's the code that I am using:


var _contentPlugIn:Object = _player.pluginRegistry.getPlugin("myContent");

if(_contentPlugIn != null) {
     _contentPlugIn.setHTML("<p>XXXXXX</p>");
}

I've also tried:


var _contentPlugIn:Content = _player.pluginRegistry.getPlugin("myContent") as Content;

if(_contentPlugIn != null) {
     _contentPlugIn.html = "<p>XXXXXX</p>";
}
No luck either - that code seems to result in the plug-in not being found in the registry which seems strange.

Looks to be some type of casting problem... does anyone know what I'm doing wrong?

Paul.

Posts:

Registered:

Adding Cuepoints within a Flash Plugin

Posted: Feb 17, 2009

Sorry in advance for the newbie question, but I'm creating a Flash plug-in that has sequenced together a series of videos to be played via RTMP.

I want to setup a series of cuepoints to trigger at different stages when the stream plays, but I can't seem to work out how to make the right actionscript API calls to setup the cuepoints (I can see the Javascript examples, but can't work out from the actionscript API doc how to do it).

For various reasons, I need to do this in the Flash plug-in rather than the Javascript API...

As a test, I've tried to do something like the following to setup a cuepoint 10 seconds into the stream but it doesn't seem to trigger/work:


clip.addCuepoint(new Cuepoint(10,"callbackID"));
clip.onCuepoint(processCuepoint);
  ...

private function processCuepoint(clip:Clip, cuepoint:Cuepoint):void {
       // code to process goes here 
}

The Cuepoint class doesn't have any API doc, so I looked at the code directly to try to work it out - I don't know what the "callbackID" parameter is suppose to be - perhaps that's my issue...

Can anyone show me a simple example on how to setup cuepoints via actionscript (or point me to some doc?) - the help is very much appreciated!

Thanks in advance,
Paul.