Git Product home page Git Product logo

demos-old's Introduction

About these demos Build Status

This is a set of interoperable and open source demos. You can watch their live version in the MS Edge Dev Site. The main goal of this one is to show new web features (supported by Microsoft Edge) in a way that work across all modern browsers. If a feature is supported in a browser and the demo doesn't work as expected you should file a bug!

Some of these demos have been migrated from the old TestDrive website (sometimes because they are still relevant, some others because we are bit too sentimental). Some others are new. In any case, we are working on adding more. We hope you find them interesting and helpful.

Contributing

Thanks for contributing! Please see the Contributing file for process details and requirements.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

demos-old's People

Contributors

aarongustafson avatar abbycar avatar aliams avatar alrra avatar andy1210 avatar andypavia avatar dstorey avatar erikadoyle avatar fippo avatar gerardlopez avatar gregwhitworth avatar ingebretsen avatar instylevii avatar jdalton avatar jdsmith3000 avatar joelfillmore avatar korilakkuma avatar kypflug avatar melanierichards avatar mohmoto avatar molant avatar nolanlawson avatar orthographic-pedant avatar quimbs avatar rachelnizh avatar sarvaje avatar shijuns avatar sjdallst2 avatar ststimac avatar toddreifsteck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demos-old's Issues

Get the first animation in CSS filters demo working in Firefox

The first image on the page should do some sepia/blur filter transitions (see Chrome / IE / Project Spartan). Currently not functional in FF. Don't worry about the layout of the page looking silly when viewing from this repo, final CSS is added in EdgePortal.

Music Lounge needs intro text

Needs some instructions about dragging the cubes into the center.

Ideally:

  • This demo would be a full-screen guy with an interstitial page.
  • We'd have a longer write-up about how it was made.

For now just need some indication of what you're supposed to do. Assigning to @molant to reach out to demo owner (I think David Catuhe?).

webaudiotuner samples should encourage promise version usage

Per http://blogs.windows.com/msedgedev/2015/05/13/announcing-media-capture-functionality-in-microsoft-edge/,

Based on the W3C spec, we support both the promise-based getUserMedia() method and the callback-based getUserMedia() method. The callback-based method allows an easier transition if you have a webpage using the interface already (although it might be a vendor-prefixed version). We encourage web developers to use the promise-based approach to follow the industry trend for new interface design styles on the web.

An easy way to do this would be to have a quick shim, like

var getUserMedia = navigator.mediaDevices.getUserMedia ?
  navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices) :
  function (constraints) {
    return new Promise(function (resolve, reject) {
      navigator.getUserMedia(constraints, resolve, reject);
    });
  };

Then you can use the promise version uniformly (via getUserMedia(...).then(...)), and at the same time talk a bit about how Edge is leading the way in having the new promise-based method :)

webaudiotuner samples contain invalid code

In particular, the repeated use of variables before they are declared.

The first time this occurs is the AnalyserNode sample, where streamReceived is used before it is declared. This will result in passing undefined for that callback.

To fix this, either order the declarations before the calls, or switch to function declarations, which benefit from hoisting.

photocapture: reset srcObject to undefined instead of null

https://github.com/MicrosoftEdge/Demos/blob/master/photocapture/scripts/demo.js#L26
checks for videoTag.srcObject !== undefined

Setting videoTag.srcObject to null in https://github.com/MicrosoftEdge/Demos/blob/master/photocapture/scripts/demo.js#L113 makes that check fail when switching cameras in browsers that don't support srcObject yet. PR incoming.

With that change, it possible to drop in the latest https://github.com/webrtc/adapter (pending https://github.com/webrtc/adapter/pull/45) and make the demo work in Chrome and Firefox (partial support, Firefox doesn't support switching cameras yet)

No README and Contributing file

It is suggested that you create a README file describing about the project and Contributing file showing the guidelines to be followed to contribute to this project

Add fullscreen code

That will hide footer and header when the demo is hosted in dev.modern.ie and make it full screen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.