Pencereyi yeniden boyutlandırırken bile her zaman tam boyutu gösteren tam ekran video arkaplanı oluşturmaya çalışıyorum. http://webkunst.comeze.com/test/Video.js kullanarak tam video arka planı
Bu sahip sorundur: http://webkunst.comeze.com/test/wide.png
ve dikey ekranda böyle gösteriyor: Geniş ekranda
böyle gösteriyor burada
bu site http://webkunst.comeze.com/test/vertical.png
Gördüğünüz gibi her zaman resizin yerine videoya biraz siyah çubuklar koydu g ekranın tamamı için video. Bu css ile
<div id="full-background">
<video class="video-js vjs-fullscreen" autoplay preload="auto" poster="http://video-js.zencoder.com/oceans-clip.png" data-setup="{}">
<source src="video/1.mp4" type='video/mp4' />
</video>
</div>
:
#full-background {
z-index: -999;
min-height: 100%;
min-width: 1024px;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
}
.video-js.vjs-fullscreen {
position: fixed;
overflow: hidden;
z-index: 1000;
left: 0;
top: 0;
bottom: 0;
right: 0;
width: 100% !important;
height: 100% !important;
_position: absolute;
/* IE6 Full-window (underscore hack) */
}
Ben Video.js eklentisi kullanıyorum: nasıl yapmak http://videojs.com/
Herhangi fikir ve
Bu
benim biçimlendirme olduğunu yan veya üst/altta siyah çubuklar göstermeden video tam boyutu?
Cevabınız için teşekkürler, ama umarım bunu tam olarak alabilmek için bir çözüm buluyorum. – codek
Dışarıda herhangi bir çözüm bulursanız lütfen geri gönderin. –