Skip to content
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.

[#890556] Fix videoHTMLContainer so it does not break player unit tests #402

Closed
wants to merge 1 commit into from

Conversation

georgemarshall
Copy link
Contributor

No description provided.

@@ -427,7 +427,7 @@
videoHTML += '<source src="' + src[ i ] + '">';
}
videoHTML += "</video>";
videoHTMLContainer.innerHTML = videoHTML;
videoHTMLContainer.outerHTML = videoHTML;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't an ideal solution for changing the tests. What we basically did here was change the functionality to put the generated video element inside a wrapper and have that wrapping element appending to the target element given.

The tests fail because the video element isn't a direct child of the target element anymore. The correct solution to this is to simply update the tests to correct that expectation.

@georgemarshall georgemarshall deleted the test-fixes branch July 11, 2014 19:00
@georgemarshall
Copy link
Contributor Author

This has moved over to pull request #403

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

Successfully merging this pull request may close these issues.

2 participants