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

return src value from HTML5 tech #1430

Merged
merged 1 commit into from
Aug 27, 2014
Merged

return src value from HTML5 tech #1430

merged 1 commit into from
Aug 27, 2014

Conversation

mattosborn
Copy link
Contributor

Calling player.src() with no arguments overwrites the HTML5 src attribute with undefined instead of returning the current value.

https://github.com/guardian/video.js/blob/21f2d3c150b3573337030758f7dfb634f6798052/src/js/player.js#L1111

@heff
Copy link
Member

heff commented Aug 22, 2014

Hmm, yeah. That's not good. Thanks for the fix.

@heff heff added bug labels Aug 22, 2014
@heff heff merged commit 21f2d3c into videojs:master Aug 27, 2014
heff added a commit that referenced this pull request Aug 27, 2014
@heff
Copy link
Member

heff commented Aug 27, 2014

Pulled in. Thanks Matt!

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

Successfully merging this pull request may close these issues.

2 participants