WASHINGTON (AP) — President Barack Obama's video endorsement of Democrat Hillary Clinton for president includes White House photos showing them together in Mexico, at a monastery in Thailand and at a White House meeting, among others.

The images are intended to show the close working relationship they shared when Clinton served as secretary of state in Obama's first term.

Their inclusion would appear to violate White House policy barring the use of such photos in commercial or political materials. The policy is outlined on photos on the White House page on the photo-sharing site Flickr.

But the White House says it does not restrict the use of such photos by political campaigns, such as Clinton's, that have been endorsed by the president.

The video was shot Tuesday and released Thursday by Clinton's campaign.