Why do I need two commas around the "however" in the following sentence?

In this following sentence, I'm particularly confused with why you would need to have the comma between "out" and "however".

"He found out, however, that the public preferred live magic acts to filmed versions.

would the "however" be nonrestrictive? The previous sentences were:

Specializing in stage illusions, he thought the camera offered potential to expand his spectacular magic productions. By 1895, he was working with the new invention"


Solution 1:

however is an interpolation in the simple sentence “He found out that the public preferred live magic acts to filmed versions.” The sentence “He found out however” is meaningless, and meaning is not added by adding “, that ....”

By inserting the however between parenthetical commas, it becomes clear that the word refers not to any part of the sentence, but to a contrast with the preceding sentence.