[vlc-commits] Test: fix line endings
Jean-Baptiste Kempf
git at videolan.org
Sun Jun 14 00:58:24 CEST 2015
npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jun 14 00:56:07 2015 +0200| [9bbd5da8439df38c8cdf3d16eea252a2dd8b115f] | committer: Jean-Baptiste Kempf
Test: fix line endings
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=9bbd5da8439df38c8cdf3d16eea252a2dd8b115f
---
share/test/resize.html | 200 ++++++++++++++++++++++++------------------------
1 file changed, 100 insertions(+), 100 deletions(-)
diff --git a/share/test/resize.html b/share/test/resize.html
index 7e8ed07..7b1cb23 100644
--- a/share/test/resize.html
+++ b/share/test/resize.html
@@ -1,100 +1,100 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
- <head>
- <title>VLC Resizing Test Page</title>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
- <style>
- #video_window {
- position: absolute;
- left: 50px;
- top: 50px;
- width: 533px;
- height: 300px;
- }
- </style>
- <script language="Javascript">
- var isMoving = false;
- var isResizing = false;
-
- var movingOutProperties = {
- left: "150px",
- top: "150px"
- };
- var movingBackProperties = {
- left: "50px",
- top: "50px"
- };
- var resizeOutProperties = {
- width: "1066px",
- height: "600px"
- };
- var resizeBackProperties = {
- width: "533px",
- height: "300px"
- };
-
- function ToggleMoving()
- {
- isMoving = !isMoving;
-
- if(isMoving)
- MoveOut();
- }
-
- function MoveOut()
- {
- if(!isMoving)
- return;
-
- $("#video_window").animate(movingOutProperties, 1000, "swing", MoveBack);
- }
-
- function MoveBack()
- {
- if(!isMoving)
- return;
-
- $("#video_window").animate(movingBackProperties, 1000, "swing", MoveOut);
- }
-
- function ToggleResizing()
- {
- isResizing = !isResizing;
-
- if(isResizing)
- ResizeOut();
- }
-
- function ResizeOut()
- {
- if(!isResizing)
- return;
-
- $("#video_window").animate(resizeOutProperties, 1000, "swing", ResizeBack);
- }
-
- function ResizeBack()
- {
- if(!isResizing)
- return;
-
- $("#video_window").animate(resizeBackProperties, 1000, "swing", ResizeOut);
- }
- </script>
- </head>
- <body>
- <input type="button" onclick="ToggleResizing()" value="Toggle Resizing"/>
- <input type="button" onclick="ToggleMoving()" value="Toggle Moving"/>
- <div id="video_window">
- <embed type="application/x-vlc-plugin"
- version="VideoLAN.VLCPlugin.2"
- width="100%" height="100%"
- target="http://streams.videolan.org/streams/mp4/h264-sample-thefluff.mp4"
- toolbar="false"
- id="vlc_control"
- >
- </embed>
- </div>
- </body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>VLC Resizing Test Page</title>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
+ <style>
+ #video_window {
+ position: absolute;
+ left: 50px;
+ top: 50px;
+ width: 533px;
+ height: 300px;
+ }
+ </style>
+ <script language="Javascript">
+ var isMoving = false;
+ var isResizing = false;
+
+ var movingOutProperties = {
+ left: "150px",
+ top: "150px"
+ };
+ var movingBackProperties = {
+ left: "50px",
+ top: "50px"
+ };
+ var resizeOutProperties = {
+ width: "1066px",
+ height: "600px"
+ };
+ var resizeBackProperties = {
+ width: "533px",
+ height: "300px"
+ };
+
+ function ToggleMoving()
+ {
+ isMoving = !isMoving;
+
+ if(isMoving)
+ MoveOut();
+ }
+
+ function MoveOut()
+ {
+ if(!isMoving)
+ return;
+
+ $("#video_window").animate(movingOutProperties, 1000, "swing", MoveBack);
+ }
+
+ function MoveBack()
+ {
+ if(!isMoving)
+ return;
+
+ $("#video_window").animate(movingBackProperties, 1000, "swing", MoveOut);
+ }
+
+ function ToggleResizing()
+ {
+ isResizing = !isResizing;
+
+ if(isResizing)
+ ResizeOut();
+ }
+
+ function ResizeOut()
+ {
+ if(!isResizing)
+ return;
+
+ $("#video_window").animate(resizeOutProperties, 1000, "swing", ResizeBack);
+ }
+
+ function ResizeBack()
+ {
+ if(!isResizing)
+ return;
+
+ $("#video_window").animate(resizeBackProperties, 1000, "swing", ResizeOut);
+ }
+ </script>
+ </head>
+ <body>
+ <input type="button" onclick="ToggleResizing()" value="Toggle Resizing"/>
+ <input type="button" onclick="ToggleMoving()" value="Toggle Moving"/>
+ <div id="video_window">
+ <embed type="application/x-vlc-plugin"
+ version="VideoLAN.VLCPlugin.2"
+ width="100%" height="100%"
+ target="http://streams.videolan.org/streams/mp4/h264-sample-thefluff.mp4"
+ toolbar="false"
+ id="vlc_control"
+ >
+ </embed>
+ </div>
+ </body>
+</html>
More information about the vlc-commits
mailing list