thatguystone / flowplayer-ima

A simple Interactive Media Ads plugin for FP
GNU General Public License v3.0
24 stars 8 forks source link

Facing issue on flow player integration with Google IMA SDK 3 #17

Closed ismail-majid closed 7 years ago

ismail-majid commented 10 years ago

I am facing following error on flow player 3.2.16

300: PLAYER INITIALIZATION FAILED: TYPEERROR: ERROR #1009

Below is my action-script source for flow player integration, I also get feedback that I am getting this error because of Error #2025: The supplied DisplayObject must be a child of the caller but I am not sure, how to address this.

/*

ismail-majid commented 10 years ago

I am still waiting for any suggestion on this issue. I will be grateful, if anyone can suggest me anything.

thatguystone commented 10 years ago

Could you post your player config?

ismail-majid commented 10 years ago

I am attaching the front end flow player implementation, where I am using the swf generated from above script.

Change the file externsion to rar from png. Thank You.

flowplayer_frontend

ismail-majid commented 10 years ago

I am still waiting for response on this.

thatguystone commented 10 years ago

Well, you've probably noticed that Google has killed support for IMAv2, so this is rather untestable now :disappointed: If you'd like to try your hand at getting this working for IMAv3, I'm happy to entertain pull requests.

In your test, though, there were a few issues. Your config should look like this:

flowplayer("player", "flowplayer.commercial-"+version+".swf", {
    log: {
        level: 'error',
        filter:'*'
    },
    plugins: {
        ima: {
            url: "flowplayer.ima-3.2.7.swf"
        }
    },
    playlist: [
        {
            provider: 'ima',
            url: url
        }
    ]
});

There should be no mention of scheduling or anything of the like with the plugin.

For now, you might want to give Flowplayer HTML5 Ads a look: http://demos.flowplayer.org/ads/videoad.html

divyenduz commented 7 years ago

Was this replicated or resolved ? I am facing similar issue in FP 6.

Skippable ad calls for ad EP once it is over and if it is filled with another ad, it plays twice.

thatguystone commented 7 years ago

I doubt this will ever be resolved. This uses Google's Flash IMA SDK v2, which was deprecated long ago. Even upgrading to v3 would be pointless since Google is going to deprecate their entire Flash IMA SDK on June 1, 2017 (https://developers.google.com/interactive-media-ads/docs/sdks/flash/quickstart).