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

Duration not refreshing after setSrc when using flash #870

Closed
fvianello opened this issue May 14, 2013 · 1 comment
Closed

Duration not refreshing after setSrc when using flash #870

fvianello opened this issue May 14, 2013 · 1 comment

Comments

@fvianello
Copy link

Hi @johndyer,

If i load a video in IE8 using flash and then change the src using the js method the flash player doesn't refresh the duration variable so it keep the duration of the first video played.

I found that commenting the line where you check if duration is equal to zero the problem is fixed but I don't know if this could break something.

https://github.com/johndyer/mediaelement/blob/master/src/flash/htmlelements/VideoElement.as#L232

@rounce
Copy link

rounce commented Mar 7, 2014

more correct fix: #1127
Your solution breaks seek.

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