# Decode Social Media Embed in Textblock

**URL:** <https://sygnal-attr.discourse.group/t/decode-social-media-embed-in-textblock/105>\
**Category:** Support\
**Created:** [August 11, 2023, 10:48pm UTC](https://sygnal-attr.discourse.group/t/decode-social-media-embed-in-textblock/105 "2023-08-11T22:48:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![leblondejames](https://avatars.discourse-cdn.com/v4/letter/l/3bc359/32.png) [@leblondejames](https://sygnal-attr.discourse.group/u/leblondejames)\
**Post date:** [August 11, 2023, 10:48pm UTC](https://sygnal-attr.discourse.group/t/decode-social-media-embed-in-textblock/105/1 "2023-08-11T22:48:03Z")

</div>

Hi there!

I just added the decode solution to my site and was curious if anyone had any thoughts about my use case. What I’m trying to achieve is to decode a textblock that contains embed code for a tiktok, intsagram or twitter post. When I place the code in an HTML embed it works fine and the video plays. When I insert the code into the textblock and add the decode attributes it decodes it partially and the video doesn’t show at all. If you have any suggestions let me know. And for anyone wondering why I just don’t place it inside a rich text field embed or regular embed, I have plans to integrate it with a more complex solution that requires text blocks but I know its a strange use case. The following is the difference between the embed and the decode textblock solution.

 ![image](https://global.discourse-cdn.com/free1/uploads/sygnal_attr/original/1X/1cb90eaf4cc556ba9f3ebcb5daababcbec9e0a20.jpeg)  
 ![image](https://global.discourse-cdn.com/free1/uploads/sygnal_attr/original/1X/bade73af8956d28f580e88868c0c4ec5a5f2a75f.png)

The following is an example for the code embed I want to place:

```auto
<blockquote class="tiktok-embed" cite="https://www.tiktok.com/@surthycooks/video/7262492539192675590" data-video-id="7262492539192675590" style="max-width: 605px;min-width: 325px;" > <section> <a target="_blank" title="@surthycooks" href="https://www.tiktok.com/@surthycooks?refer=embed">@surthycooks</a> <p>🫣 </p> <a target="_blank" title="♬ LALA - Myke Towers" href="https://www.tiktok.com/music/LALA-7212832308926089218?refer=embed">♬ LALA - Myke Towers</a> </section> </blockquote> <script async src="https://www.tiktok.com/embed.js"></script>

```

---

<div class="post-metadata">

**Author:** ![memetican](https://yyz2.discourse-cdn.com/free1/user_avatar/sygnal-attr.discourse.group/memetican/32/9_2.png) [@memetican](https://sygnal-attr.discourse.group/u/memetican)\
**Post date:** [August 12, 2023, 6:07am UTC](https://sygnal-attr.discourse.group/t/decode-social-media-embed-in-textblock/105/2 "2023-08-12T06:07:14Z")

</div>

Social and podcast embeds in the CMS are the same primary use case we use it for.  
Can you share a readonly project link and published [webflow.io](http://webflow.io) link?

---

<div class="post-metadata">

**Author:** ![leblondejames](https://avatars.discourse-cdn.com/v4/letter/l/3bc359/32.png) [@leblondejames](https://sygnal-attr.discourse.group/u/leblondejames)\
**Post date:** [August 12, 2023, 9:05pm UTC](https://sygnal-attr.discourse.group/t/decode-social-media-embed-in-textblock/105/4 "2023-08-12T21:05:13Z")

</div>

[  
1m](https://sygnal-attr.discourse.group/t/decode-social-media-embed-in-textblock/105/3)

I appreciate the response! Unfortunately, I cannot send a read-only link because the project is confidential, and I can’t just share 1 page without sending the entire project. I only have a cms plan for one site, not a workspace. But I created a page for you to inspect in developer mode:

[https://www.shopdat.co/decode](https://www.shopdat.co/decode)

But I followed the documentation and added attribute wfu-decode=’ ’ to the text block and added the script and stylesheet in head tag

---

<div class="post-metadata">

**Author:** ![memetican](https://yyz2.discourse-cdn.com/free1/user_avatar/sygnal-attr.discourse.group/memetican/32/9_2.png) [@memetican](https://sygnal-attr.discourse.group/u/memetican)\
**Post date:** [August 13, 2023, 12:45am UTC](https://sygnal-attr.discourse.group/t/decode-social-media-embed-in-textblock/105/5 "2023-08-13T00:45:01Z")

</div>


