Google: Fix video inlining with PPP Fixes #4268
| @@ -792,7 +792,7 @@ export function mergeMessages(messages, names, { strict = false, placeholders = | |||
| 792 | return content.text; | 792 | return content.text; |
| 793 | } | 793 | } |
| 794 | // Could be extended with other non-text types | 794 | // Could be extended with other non-text types |
| 795 | if (content.type === 'image_url') { | 795 | if (['image_url', 'video_url'].includes(content.type)) { |
| 796 | const token = crypto.randomBytes(32).toString('base64'); | 796 | const token = crypto.randomBytes(32).toString('base64'); |
| 797 | contentTokens.set(token, content); | 797 | contentTokens.set(token, content); |
| 798 | return token; | 798 | return token; |