diff --git a/packages/sdk/src/core/goview/convert.ts b/packages/sdk/src/core/goview/convert.ts index 9f45616..074f36c 100644 --- a/packages/sdk/src/core/goview/convert.ts +++ b/packages/sdk/src/core/goview/convert.ts @@ -430,14 +430,14 @@ export function convertGoViewProjectToScreen(input: GoViewProjectLike | GoViewSt const inferredType: 'text' | 'image' | 'iframe' | 'video' | undefined = isImage(c) || looksLikeImageOption(option) ? 'image' - : optionSaysVideo - ? 'video' - : optionSaysIframe - ? 'iframe' - : isVideo(c) - ? 'video' - : isIframe(c) - ? 'iframe' + : optionSaysIframe + ? 'iframe' + : optionSaysVideo + ? 'video' + : isIframe(c) + ? 'iframe' + : isVideo(c) + ? 'video' : isTextCommon(c) ? 'text' : undefined;