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

Does it support URL with query string? #62

Open
Hiromi-Kai opened this issue Jul 2, 2015 · 7 comments
Open

Does it support URL with query string? #62

Hiromi-Kai opened this issue Jul 2, 2015 · 7 comments

Comments

@Hiromi-Kai
Copy link

Hello. I want to use html5media on IE8.
Our audio file are hosted on Amazon S3 ,so query string is required.
But, html5media seems not to work when URL is appended some parameter.

For example, our URL are appended AWSAccessKeyId,Expires,Signature.
On IE8, our MP3 file is not loaded and FLASH control doesn't work.
Otherwise, URL length or a kind of character affect?

Example using S3 (not working)

<audio preload controls>
  <source src="https://aaa.s3.amazonaws.com/a/b/test.mp3?AWSAccessKeyId=AAAAAAAAAA&Expires=99999999999&Signature=ABCDEFGH" />
</audio>

Example no query string (working)

<audio preload controls>
  <source src="https://abc.com/audio.mp3" />
</audio>
@etianen
Copy link
Owner

etianen commented Jul 2, 2015

This issue was fixed in 1.1.7+. Try upgrading to the latest html5media.

On 2 Jul 2015, at 07:25, Hiromi Kai notifications@github.com wrote:

Hello. I want to use html5media on IE8.
Our audio file are hosted on Amazon S3 ,so query string is required.
But, html5media seems not to work when URL is appended some parameter.

For example, our URL are appended AWSAccessKeyId,Expires,Signature.

On IE8, our MP3 file is not loaded and FLASH control doesn't work.
Otherwise, URL length or a kind of character affect?


Reply to this email directly or view it on GitHub.

@Hiromi-Kai
Copy link
Author

Hmm... We are using 1.1.8, But this problem appeared.

@etianen
Copy link
Owner

etianen commented Jul 3, 2015

Were you using a previous version that worked?

On 3 Jul 2015, at 02:35, Hiromi Kai notifications@github.com wrote:

Hmm... We are using 1.1.8, And this problem appeared.


Reply to this email directly or view it on GitHub.

@Hiromi-Kai
Copy link
Author

I sought , But older definition was not existed.
And we are using api.html5media.info/1.1.8/html5media.min.js .

@etianen
Copy link
Owner

etianen commented Jul 6, 2015

Do you have a URL I can visit that demonstrates the problem? Or a javascript stack trace?

On 6 Jul 2015, at 04:41, Hiromi Kai notifications@github.com wrote:

I sought , But older definition was not existed.
And we are using api.html5media.info/1.1.8/html5media.min.js .


Reply to this email directly or view it on GitHub.

@etianen
Copy link
Owner

etianen commented Jul 7, 2015

I see the problem.

What’s really weird, is that it’s not html5media.js. It appears to be the flash video player that’s refusing to play the file with the query string. That’s incredibly annoying.

The solution would be to upgrade to a newer version of flowplayer, and hope that it’s fixed.

I’ve can’t devote any time to this in the next few days. If you want to speed things up, try to experiment with using the latest version of the flowplayer.swf, and see what breaks.

On 7 Jul 2015, at 07:59, Hiromi Kai notifications@github.com wrote:

This link is sample code to test.
https://gist.github.com/Hiromi-Kai/9d93a2c910134f5c81cc

I tried using JSFIDDLE to host but IE8 can't see it without problems.

If it's not too much trouble,
you register JSFIDDLE and run this code any modern browser and you see draft page on IE8, you will see demonstrates.


Reply to this email directly or view it on GitHub.

@Hiromi-Kai
Copy link
Author

By the CHAGELOG, Flowplayer Version 5.4+ may fix this problem.
https://github.com/flowplayer/flowplayer/blob/master/CHANGELOG.md

Source urls can now contain query strings (signed AWS URLS etc)

If I have enough time, I will try to use newest Flowplayer on local environment.
I appreciate your analyze.

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

2 participants