//get all vids
var video = document.querySelectorAll('video')
//add source to video tag
function addSourceToVideo(element, src) {
var source = document.createElement('source');
source.src = src;
source.type = 'video/mp4';
console.log(src);
element.appendChild(source);
}
//determine screen size and select mobile or desktop vid
function whichSizeVideo(element, src) {
var windowWidth = document.documentElement.clientWidth ? document.documentElement.clientWidth : $(window).width();
if (windowWidth > 870 ) {
addSourceToVideo( element, src.dataset.desktopVid);
} else {
addSourceToVideo(element, src.dataset.mobileVid);
}
}
//init only if page has videos
function videoSize() {
if (video !== undefined) {
video.forEach(function(element, index) {
whichSizeVideo(
element, //element
element //src locations
);
});
}
}
videoSize();

var video = document.getElementById("homeVideo");
video.addEventListener('timeupdate', function () {
video.controls = false;
if(video.currentTime >= 22) {
video.pause();
$(".videoHolder, #homeVideo").animate({opacity: '0'}, 800).animate({height: '0'}, 500);
setTimeout(function (){
video.currentTime = 0;}, 5000);
}
});

INTELLIGENT LITIGATION

Davis Woolfe is a leading specialist litigation law firm, with a proven track record of success, but we don’t believe that one size fits all. We believe that every client is different and so is our attitude to every single case. We are here to breathe new life into litigation, to think differently, smarter, more creatively. We create strategies that win. Success comes in not litigating if there is a better solution. We believe that success in any case involves precise planning, a degree of patience and resolute persistence; the scale of the fight is irrelevant when you’re always one step ahead. Find out more about us.

Davis Woolfe home 1

THE BEST RESULTS

We get the results that other firms say aren’t possible and because of our structure and size, we’re better value, too. We only act on cases we believe we can win and rarely act for defendants, which is why our success rate is so high. We can also offer the flexibility of a wide range of fee and funding options. Just ask us. Find out more about our expertise and experience.

Davis Woolfe home 2

WE DON’T SEE OBSTACLES, JUST OPPORTUNITIES

We are a team of highly experienced litigation lawyers, so there’s little we haven’t seen before. We never stop listening and learning though and we’ve worked on a wider range of cases than most of our competitors. However complex and challenging the dispute, our focus and vision is razor sharp. We’re tough, but never unnecessarily aggressive. We think about the bigger picture – we’re all about the result not the battle. Meet our team.

Davis Woolfe home 3

THE LATEST NEWS

The quality and variety of the work we are involved in demonstrates the wide range of our experience and the breadth of clients and expertise we cover. Find out more about the work we’ve been trusted with.

Davis Woolfe home 4