Some dog owners were worried about how their dogs would react to Fourth of July fireworks, so they turned to this strange medicinal solution

[protected-iframe id=”134ea463420cf5c7089d679fbb0e1d99-46934866-65121066″ info=”http://www.nbcbayarea.com/portableplayer/?cmsID=432405173&videoID=lq6OFZa_bjn8&origin=nbcbayarea.com&sec=news&subsec=local&fullWidth=y” ]

Videos by Rare

Dog owners are aware of how stressed their dogs can get from loud noises. So for this Fourth of July, a few dog owners in California turned to an unlikely solution to the problem — medical marijuana.

RELATED: Kim Zolciak-Biermann’s son Kash cuddles up to a puppy just two months after he was hospitalized after a dog attack

The owner fed their dogs special treats infused with CBD (cannabidiol) — a cannabis compound — that will alleviate a dog’s anxiety caused by fireworks.

“I don’t want him to be stressed out, especially over something as insignificant as fireworks,” Bay Area pet owner Zugeiryd Garcia-Barrera told NBC Bay Area.

The treats have gone over well for the pet owners and the animals.

“The response has been overwhelmingly that it calms them down,” said pet store owner Heidi Hill.

Hill did clarify, however, that this is not the kind of marijuana humans would use.

RELATED: Watch the hilarious moment a dog crashed a symphonic performance

“The product we sell and what makes it legal is it’s from industrialized hemp,” she said. “It’s less than 3 percent THC — doesn’t get the dogs high.”

Experts did say that pet owners should “read the product packaging and follow dosing directions carefully” before giving the treats to their dogs.

What do you think?

George and Amal Clooney step out with their twins for the first time while on a family vacation

Sports Illustrated touts top places to eat in Houston — do you agree with their choices?