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

Use local videos in tests #7476

Merged
merged 2 commits into from
Jan 10, 2019
Merged

Use local videos in tests #7476

merged 2 commits into from
Jan 10, 2019

Conversation

OmarShehata
Copy link
Contributor

This is to alleviate some of the issues in #7249.

Loading the videos from external URIs is one of the reasons we know the build sometimes fails. Using a local copies makes these tests a lot faster and more reliable.

The videos are scaled down versions of the original, so they're about ~20 kb each.

@mramato want to merge this?

@cesium-concierge
Copy link

Thanks for the pull request @OmarShehata!

  • ✔️ Signed CLA found.
  • CHANGES.md was not updated.
    • If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.

🌍 🌎 🌏

@@ -24,17 +24,17 @@ defineSuite([
function loadVideo() {
var element = document.createElement('video');
var source = document.createElement('source');
source.setAttribute('src', 'http://cesiumjs.org/videos/Sandcastle/big-buck-bunny_trailer.webm');
source.setAttribute('src', './Data/Videos/big-buck-bunny-trailer-small.webm');
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the ./, it's unneeded (plus this is a url, not a filepath)

@mramato
Copy link
Contributor

mramato commented Jan 10, 2019

Thanks @OmarShehata, just that one comment and I'll merge.

@OmarShehata
Copy link
Contributor Author

@mramato all good!

@mramato
Copy link
Contributor

mramato commented Jan 10, 2019

Thanks

@mramato mramato merged commit 15d5cde into CesiumGS:master Jan 10, 2019
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

Successfully merging this pull request may close these issues.

3 participants