Responsive video-js und responsive YouTube Videos

Wer HTML5 Web Videos mit Video-JS veröffentlichen möchte, steht bei der Erstellung von responsive Webseiten vor dem Problem, dass sich die Videos nicht an die Fenstergröße anpassen.
Abhilfe schafft folgender CSS/HTML Hack:
https://www.hexagonwebworks.com/2011/making-videos-responsive/

Möchte man YouTube oder Vimeo Videos responsive einbinden, hilft das FitVids jQuery Plugin:
https://fitvidsjs.com/

Hinterlasse einen Kommentar

Datenschutz Einstellungen
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.