Skip to content
Browse files

webkit element complain

chrome complains too much, need to position the controller before video
  • Loading branch information...
1 parent 32df13e commit 56f4f1d5cb7b8272c8f5c6daa306cd7c86ed57e6 @azatoth committed
Showing with 8 additions and 4 deletions.
  1. +3 −3 example.html
  2. +4 −0 jquery.video.css
  3. +1 −1 jquery.video.js
View
6 example.html
@@ -28,9 +28,9 @@
</head>
<body>
<video width="854px" height="480px" poster="http://stream.azatoth.net/big_buck_bunny.png">
- <source src="http://stream.azatoth.net/big_buck_bunny_480p_h264.mov" type="video/h264"></source>
- <source src="http://stream.azatoth.net/big_buck_bunny_480p_stereo.ogg" type="video/ogg"></source>
- <source src="http://stream.azatoth.net/big_buck_bunny_480p_surround-fix.avi" type="video/mp4"></source>
+ <source src="http://stream.azatoth.net/big_buck_bunny_480p_h264.mov" type="video/h264"/>
+ <source src="http://stream.azatoth.net/big_buck_bunny_480p_stereo.ogg" type="video/ogg"/>
+ <source src="http://stream.azatoth.net/big_buck_bunny_480p_surround-fix.avi" type="video/mp4"/>
</video>
<div>© copyright Blender Foundation | www.bigbuckbunny.org</div>
<div id="switcher"></div>
View
4 jquery.video.css
@@ -86,3 +86,7 @@
border: 0;
z-index: 9999;
}
+
+.ui-video-widget {
+ position: relative;
+}
View
2 jquery.video.js
@@ -176,7 +176,7 @@ $.widget("ui.video", {
'class': 'ui-widget ui-widget-content ui-corner-all ui-video-control'
}
)
- .appendTo(this.wrapperElement)
+ .prependTo(this.wrapperElement)
.position({
'my': 'bottom',
'at': 'bottom',

0 comments on commit 56f4f1d

Please sign in to comment.
Something went wrong with that request. Please try again.