Skip to content
New issue

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

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

Already on GitHub? # to your account

Poster attribute not being removed from video tag #227

Closed
pgmahoney opened this issue Sep 17, 2012 · 1 comment
Closed

Poster attribute not being removed from video tag #227

pgmahoney opened this issue Sep 17, 2012 · 1 comment

Comments

@pgmahoney
Copy link

I have found that the poster attribute is not being successfully removed from the video tag, after the poster img tag has been created.

tag.removeAttribute("poster");

results in poster="" in Firefox and poster="null" in IE. This causes the browser to try and fetch the current page as the poster image in Firefox, and a 404 in IE.

To fix this, I have had to add:

tag["poster"] = null;

@heff
Copy link
Member

heff commented May 24, 2013

Video.js 4.0 is out now, so this issue may be fixed or out of date. If you think it's still an issue, please check using 4.0 and reopen.

@heff heff closed this as completed May 24, 2013
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants