The boy could be seen in the video coughing, but there were no other visible effects from inhaling from the vaping device, police said.
There is no family relationship between the boy and the two teenagers, authorities said.
Police said the boy's parents were not aware of the incident until police brought it to their attention. The incident was also reported to Children and Youth Services, WPXI reported.
Charges of endangering the welfare of a child are pending against the two teenagers, police said.
United School District officials said they believe the teenagers in the video are students in their district. They gave WPXI the following statement:
“The administration was made aware of the video, and we believe the two individuals are United students. Their names were provided to the authorities who are investigating.”