The chat messages also appear in the chat window and the voiceovers will still playIt can also be moved and scaled instead with MoveTalkingHead and MoveAnything
Don't have a mac so I don't know really about the crashing part, maybe it was fixed in 7.1? I originally called this to prevent Blizzard_TalkingHeadUI from loading, now it idd just calls Hide
But thanks for pointing users here from DBM
Curious, that doesn't crash game anymore? I remember calling Hide on talking frame instantly crashed out mac client, which is why i had to go with dirtier method to just unregister all events (thus no chat,no sounds) in my block I made couple months ago. Maybe they fixed that crash though and I can refactor mine to be less aggressive. or just remove mine and recommend this mod instead.
EDIT, went with full removal from DBM and pointing users here.
Thanks q3fuba, I added this into HideTalkingHead. I didn't make it an option since users can still turn of all sound effects if they want
(I did use a slightly different version of your code)
Found a way to hide the TalkingHeadFrame but let the voice line sounds active.
Maybe you can add this in your AddOn as an Option or just do a Standalone AddOn.
local f = CreateFrame("Frame");
function f:OnEvent(event, addon)
if (event == "ADDON_LOADED")
and (addon == "Blizzard_TalkingHeadUI")
and TalkingHeadFrame_PlayCurrent then