A VIDEO of Boris Johnson being booed ahead of a meeting with Nicola Sturgeon in Edinburgh has been viewed more than two million times.

The groups of independence campaigners and pro-EU demonstrators had gathered across road from Bute House, heckling Johnson as he shook hands with the First Minister.

Chris Green, the Scotland editor of the i newspaper posted the video on Twitter yesterday afternoon.

Johnson was expected to leave the same way he came in after camping out in Faslane for the majority of the day, but the hostile reaction from Scots led to him slipping out the back door of Bute House instead. 

The decision was taken by the PM's camp – and is not the normal protocol.

READ MORE: Boris Johnson leaves Bute House meeting by the back door

At his meeting with Sturgeon, Johnson stressed he was a "passionate believer" in the Union.

A Number 10 spokesman said: "The Prime Minister met the First Minister for Scotland Nicola Sturgeon in Edinburgh today.

"The Prime Minister said he was a passionate believer in the power of the Union and he would work tirelessly to strengthen the United Kingdom and improve the lives of people right across Scotland.

"On Brexit, the Prime Minister said that while the Government's preference is to negotiate a new deal which abolishes the anti-democratic backstop, the UK will be leaving the EU on October 31st come what may.

"The PM set out the scale of work under way to prepare for our departure and also offered to hold a JMC(P) (joint ministerial plenary committee) soon so that he can work with the devolved administrations to make sure all corners of the UK are ready to enjoy a bright future outside of the EU.

"They also discussed the UK Government's pledge to expand Growth Deals with £300m of new funding. The Prime Minister said he looked forward to working with the Scottish Government to see these deals rolled out to every region of Scotland so that more communities could benefit from the funding."