Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strobe Media Playback: invalid parameter passed to method #112

Open
Marc477 opened this issue May 1, 2015 · 10 comments
Open

Strobe Media Playback: invalid parameter passed to method #112

Marc477 opened this issue May 1, 2015 · 10 comments

Comments

@Marc477
Copy link

Marc477 commented May 1, 2015

I tried both Strobe Media Playback and Grindplayer with your HLS plugin, it works fine on localhost, but if I put the .swf on another domain, I get this error (invalid parameter passed to method) with Strobe Media Playback , and nothing is working with Grindplayer.

This is the only thing i change, I know that the files get loaded (network tab) but then it crashes. I know also that it is not a crossdomain.xml issue since i've put that file on my server (it works with video.js).

I use chrome 42 and windows 7, Flash 17.0.0.169

I think you can get a similar issue here:http://osmfhls.kutu.ru/ (SMP player only)

error

Thank you

@dangerden
Copy link
Member

@Marc477 could you please give a link to your test page, i'll check what goes wrong there

@Marc477
Copy link
Author

Marc477 commented May 1, 2015

Test page: http://marcantoinedesbiens.ca/test/

Both video have the same parameters , but the second loads the plugin from another domain. Only the first works.

@Marc477
Copy link
Author

Marc477 commented May 1, 2015

And yes it is exactly the same swf file on both servers

@D3adKnight
Copy link
Member

Test page don't load both players (direct link also)

GET http://zenterac.com/data/StrobeMediaPlayback.swf net::ERR_CONNECTION_TIMED_OUT
GET http://zenterac.com/data/StrobeMediaPlayback.swf net::ERR_CONNECTION_TIMED_OUT

@Marc477
Copy link
Author

Marc477 commented May 16, 2015

Yes, it is because my test server was down, i changed the test so that now the files are hosted on google drive. You can retry here:

http://marcantoinedesbiens.ca/test/

Thank you for your help

@D3adKnight
Copy link
Member

I was trying to reproduce this error but all works fine with(or without) crossdomain.
You can see this test page: http://denivip.ru/crossdomain_hls/
Player on the denivip.ru domain, plugin loaded from your marcantoinedesbiens.ca domain.

@Marc477
Copy link
Author

Marc477 commented May 18, 2015

Thank you so much, with your example I could compare the response headers.
On my first test server (node.js): these response headers were missing:
Content-Length:163648
Content-Type:application/x-shockwave-flash

On my second test, for some reason loading HLSDynamicPlugin.swf from https (google drive) wasnt working. Only StrobeMediaPlayback.swf was loading. (Maybe StrobeMediaPlayback.swf does not support loading plugins from HTTPS)

So it was 2 different errors on the 2 server i tried. But it wasnt a crossdomain issue.

@Marc477
Copy link
Author

Marc477 commented May 18, 2015

But now when I load StrobeMediaPlayback.swf from another domain, the javascript callback doesnt seem to work:

javascriptCallbackFunction: "FHLS_Event"

http://marcantoinedesbiens.ca/test/

I tried from server 1 -> server 2, and from server 2 -> server 1. Doesnt work.
But it work if I load page from server 1 and swf from server 1
So I dont think it is a header issue this time.

@D3adKnight
Copy link
Member

Try this:

{
   allowFullScreen: "true",
   wmode: wmodeValue,
   allowScriptAccess: "always" // add this line in embed params
}

@Marc477
Copy link
Author

Marc477 commented May 19, 2015

Thank you for your help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants