Browse Source

make local video mirror

Ben Brittain 12 years ago
parent
commit
ef3087d30c
3 changed files with 7 additions and 3 deletions
  1. 2 2
      README.md
  2. 1 1
      example/index.html
  3. 4 0
      example/style.css

+ 2 - 2
README.md

@@ -42,9 +42,9 @@ click allow to see your camera and the connection will be made between your to o
 
 ##For instructions on how to start with webRTC.io
 
-go to [https://github.com/cavedweller/webRTC.io](https://github.com/cavedweller/webRTC.io) and read throw the instructions.
+go to [https://github.com/cavedweller/webRTC.io](https://github.com/cavedweller/webRTC.io) and read the instructions.
 
 Developed by:
     [@dennismatensson](https://github.com/dennismartensson)
     [@cavedweller](https://github.com/cavedweller)
-    [@sarenji](https://github.com/sarenji)
+    [@sarenji](https://github.com/sarenji)

+ 1 - 1
example/index.html

@@ -10,7 +10,7 @@
   <body onload="init()">
     <div id="videos">
       <a href="https://github.com/dennismartensson/webrtc.io-demo"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a>
-      <video id="you" autoplay></video>
+      <video id="you" class="flip" autoplay></video>
     </div>
     <div id="chatbox">
       <button id="fullscreen">Enter Full Screen</button>

+ 4 - 0
example/style.css

@@ -46,3 +46,7 @@ body {
   border-style:solid;
   border-width:1px;
 }
+
+.flip {
+-webkit-transform: rotateY(180deg);
+}