When I embedd a video it always has 8px margin
up vote
-1
down vote
favorite
I need my video to be right on the edge of the screen, without any space between. But whenever I add tag on the website it saves exactly 8px of space between the video and the edge. How can I get rid of it? I tried padding 0 !important
but that doesn't work
some code:
<html>
<style>
video
padding:0 !important;
</style>
<video width="2000" height="1000" autoplay muted loop>
<source src="small.mp4" type="video/mp4" />
</video>
</html>
html css video
add a comment |
up vote
-1
down vote
favorite
I need my video to be right on the edge of the screen, without any space between. But whenever I add tag on the website it saves exactly 8px of space between the video and the edge. How can I get rid of it? I tried padding 0 !important
but that doesn't work
some code:
<html>
<style>
video
padding:0 !important;
</style>
<video width="2000" height="1000" autoplay muted loop>
<source src="small.mp4" type="video/mp4" />
</video>
</html>
html css video
2
Impossible to say seeing as you've posted no code at all. Edit your question to include a Minimal, Complete, and Verifiable example please
– j08691
Nov 8 at 15:11
1
Set a 0 margin on the body
– MDrX
Nov 8 at 16:07
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I need my video to be right on the edge of the screen, without any space between. But whenever I add tag on the website it saves exactly 8px of space between the video and the edge. How can I get rid of it? I tried padding 0 !important
but that doesn't work
some code:
<html>
<style>
video
padding:0 !important;
</style>
<video width="2000" height="1000" autoplay muted loop>
<source src="small.mp4" type="video/mp4" />
</video>
</html>
html css video
I need my video to be right on the edge of the screen, without any space between. But whenever I add tag on the website it saves exactly 8px of space between the video and the edge. How can I get rid of it? I tried padding 0 !important
but that doesn't work
some code:
<html>
<style>
video
padding:0 !important;
</style>
<video width="2000" height="1000" autoplay muted loop>
<source src="small.mp4" type="video/mp4" />
</video>
</html>
html css video
html css video
edited Nov 8 at 15:20
asked Nov 8 at 15:09
Tutu Kaeen
22729
22729
2
Impossible to say seeing as you've posted no code at all. Edit your question to include a Minimal, Complete, and Verifiable example please
– j08691
Nov 8 at 15:11
1
Set a 0 margin on the body
– MDrX
Nov 8 at 16:07
add a comment |
2
Impossible to say seeing as you've posted no code at all. Edit your question to include a Minimal, Complete, and Verifiable example please
– j08691
Nov 8 at 15:11
1
Set a 0 margin on the body
– MDrX
Nov 8 at 16:07
2
2
Impossible to say seeing as you've posted no code at all. Edit your question to include a Minimal, Complete, and Verifiable example please
– j08691
Nov 8 at 15:11
Impossible to say seeing as you've posted no code at all. Edit your question to include a Minimal, Complete, and Verifiable example please
– j08691
Nov 8 at 15:11
1
1
Set a 0 margin on the body
– MDrX
Nov 8 at 16:07
Set a 0 margin on the body
– MDrX
Nov 8 at 16:07
add a comment |
1 Answer
1
active
oldest
votes
up vote
-1
down vote
you can use videojs for custom html5 video player.
Video.js is pretty easy to set up. It can take a matter of seconds to get the player up and working on your web page.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
-1
down vote
you can use videojs for custom html5 video player.
Video.js is pretty easy to set up. It can take a matter of seconds to get the player up and working on your web page.
add a comment |
up vote
-1
down vote
you can use videojs for custom html5 video player.
Video.js is pretty easy to set up. It can take a matter of seconds to get the player up and working on your web page.
add a comment |
up vote
-1
down vote
up vote
-1
down vote
you can use videojs for custom html5 video player.
Video.js is pretty easy to set up. It can take a matter of seconds to get the player up and working on your web page.
you can use videojs for custom html5 video player.
Video.js is pretty easy to set up. It can take a matter of seconds to get the player up and working on your web page.
answered Nov 8 at 15:11
Xenis
15213
15213
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53210561%2fwhen-i-embedd-a-video-it-always-has-8px-margin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Impossible to say seeing as you've posted no code at all. Edit your question to include a Minimal, Complete, and Verifiable example please
– j08691
Nov 8 at 15:11
1
Set a 0 margin on the body
– MDrX
Nov 8 at 16:07